Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

console java

try(Scanner scan=new Scanner(System.in)){
	//read from console
	String textRead=scan.nextLine();
	//write to console
  	System.out.println(textRead);
}
 
PREVIOUS NEXT
Tagged: #console #java
ADD COMMENT
Topic
Name
5+2 =