Answers for "class java write in console"

3

java console write

System.out.println("Hello Console");
Posted by: Guest on April-27-2020
0

console java

try(Scanner scan=new Scanner(System.in)){
	//read from console
	String textRead=scan.nextLine();
	//write to console
  	System.out.println(textRead);
}
Posted by: Guest on April-06-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language