Question PRG-JAVA-0025
EasyWhich method returns the number of characters in a Java String s?
- A.
s.length()
- B.
s.length
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Java question
Which method returns the number of characters in a Java String s?
s.length()
s.length
Sign up free to see the answer and a step-by-step explanation.
s.count()
s.size()