Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to initialize a string in java

Scanner sc = new Scanner(System.in);
String str = sc.next();
 
PREVIOUS NEXT
Tagged: #initialize #string #java
ADD COMMENT
Topic
Name
1+8 =