Loading...
State the difference between length and length() in Java.
What is the output of the Java code given below? String color [ ] = {"Blue", "Red", "Violet"}; System.out.println(color[2].length());
© 2026 PadhAiPro. This question is provided for educational purposes.