Strings
length, toUpperCase, substring, split, and contains methods.
Simple enough for a 5-year-old to understand
Length and uppercase
public class Main { public static void main(String[] args) { System.out.println("hello".length()); System.out.println("hello".toUpperCase()); }}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: HEXLIBRARY