SyntaxFix
Write A Post
Hire A Developer
Questions
I believe its just a property as you access it as a property.
String[] s = new String[]{"abc","def","ghi"} System.out.println(s.length)
returns 3
if it was a method then you would call s.length() right?
s.length()