้ŸณใŒๆตใ‚Œใชใ„ๅ ดๅˆใ€ๅ†็”Ÿใ‚’ไธ€ๆ™‚ๅœๆญขใ—ใฆใ‚‚ใ†ไธ€ๅบฆๅ†็”Ÿใ—ใฆใฟใฆไธ‹ใ•ใ„ใ€‚
ใƒ„ใƒผใƒซใ€€
็”ปๅƒ
Bro Code
146475ๅ›žๅ†็”Ÿ
Java String methods ๐Ÿ’ฌ

Java String methods tutorial explained

#java #string #methods

public class Main {

public static void main(String[] args) {

// String = a reference data type that can store one or more characters
// reference data types have access to useful methods

String name = "Bro";

//boolean result = name.equalsIgnoreCase("bro");
//int result = name.length();
//char result = name.charAt(0);
//int result = name.indexOf("o");
//boolean result = name.isEmpty();
//String result = name.toUpperCase();
//String result = name.toLowerCase();
//String result = name.trim();
//String result = name.replace('o', 'a');

//System.out.println(result);
}

}

ใ‚ณใƒกใƒณใƒˆ