Answers for "taking input directly on stringbuffer"

0

input using stringbuffer

StringBuffer sbuffer = new StringBuffer();
Scanner input = new Scanner(System.in);
System.out.println("Enter a string");
sbuffer.append(input.nextLine());
Posted by: Guest on September-03-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language