原创 XML-mfy

定義: 可擴展標記語言,一種用於標記電子文檔使其具有結果性的標記語言,它可以用來標記數據、定義數據類型,是一種允許用戶對自己的標記語言進行定義的源語言。 xml和超文本標記語言區別: html不一定需要成對出現,xml則一定需要成

原创 HTML-mfy

1.html的架構 <!DOCTYPE html> <html> <head> <title>第一個網頁</title> <meta charset="GBK"> </head> <body> <h1>

原创 IO之FileInputStream和FileOutputStream

1.定義 I:input 輸入(讀取) O:output 輸出(寫入) 流:數據(字符,字節)1個字符=2個字節=8個二進制位 字節: 輸入流inputStream 輸出流OutputStream 字符: 輸入流Reader

原创 IO之ObjectOutputStream、ObjectInputStream和PrintStream

序列化:把對象以流的方式寫入到文件中 反序列化: ObjectOutputStream 對象的序列化流 構造方法:ObjectOutputStream(OutputStream out) ; 創建寫入指定的Output

原创 IO之BufferedInputStream和BufferedOutputStream

1.BufferedOutputStream 字節緩衝輸出流 構造方法:(1)BufferedOutputStream(OutputStream out); (2)BufferedOutputStream(OutputStrea