Answers for "string definition in java"

0

what are strings in java

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

java String method

String txt = "Hello World";
System.out.println(txt.toUpperCase());   // Outputs "HELLO WORLD"
System.out.println(txt.toLowerCase());   // Outputs "hello world"
Posted by: Guest on July-17-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language