Created
March 7, 2020 12:29
-
-
Save NaingAungLuu/4bc44330ff95f70cefa2cf0883a44e6d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.List; | |
class bubblesort { | |
public static void main(String[] args) { | |
List<String> names ; | |
try{ | |
names = Files.readAllLines(Paths.get("names.txt")); | |
System.out.println(names.toString()); | |
}catch(IOException io) | |
{ | |
System.out.println("Error"); | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Naing Aung Luu | |
Phyo Min Thein | |
Kaung Khant Zaw | |
Myat Hmue Thwin | |
Khine Khant Soe | |
Khant Kyaw Swar | |
Khine Thinzar Soe | |
Thaw Zin Moe Thae |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment