Archive | EN Java

[Java] Enter arrays from files, sorted and exported file in Java – Import Array from file, sort and export file in Java

– Create 1 class array initialization (class InitArray) – Create 1 Import Export array class inherits from the class file to initialize the array (class IOArray extends InitArray) – Create 1 sorted array class inheriting class array initialization (class SortArray extends InitArray) – Class arrays (Array) contains the main function() executable program code Here are:

[Java]Enter, made in Java – Input, output in Java

A simple input and output from the keyboard in Java with Scanner Next, import and export files. In this program I will read from the file consists of lines INPUT.TXT, each with the name, age, Salary separated by commas, then written to the file output.txt information on different lines: CEO: INPUT.TXT file content is Nguyen Van Q,21,100000.0 Nguyen Thi B,20,200000.0 will be written to the file output.txt […]

[Java] Hello World

Create 1 project name is then created java_helloworld 1 file *.java (My main.java file) and write code as follows: