Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

input using stringbuffer

StringBuffer sbuffer = new StringBuffer();
Scanner input = new Scanner(System.in);
System.out.println("Enter a string");
sbuffer.append(input.nextLine());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #stringbuffer
ADD COMMENT
Topic
Name
5+8 =