Answers for "String in Java is a?"

8

how to make a string java

String newString = "Hello World";
Posted by: Guest on September-12-2020
0

strings in java

StringBuilder str = new StringBuilder();
str.append("GFG");
Posted by: Guest on August-09-2021
0

what are strings in java

Strings are an array of characters, but not in Java.
Posted by: Guest on November-16-2020
0

string java

String str = "abc";
Posted by: Guest on October-21-2020
0

string method example in java

public String trim()

String x = " hi ";
System.out.println( x + "x" ); // result is" hi x"
System.out.println(x.trim() + "x"); // result is "hix"
Posted by: Guest on January-25-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language