Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does the method length() do?
Think about how you measure 'Hello'.
What does charAt(0) return for the string 'Java'?
What character is at the start of 'Java'?
What does the method length() return?
It's related to how many letters or spaces are in the string.
Does charAt(3) for 'Hello' return 'l'?
What is the index for l in Hello?
Create a function that takes a string input, trims it, checks its length, and returns true if the length is greater than 10.
This function processes the string and checks its final size.
Write a method to concatenate two strings and return the result in uppercase.
Focus on combining the strings before changing their cases.
7 more questions in this section. Enroll free to practise them all.
Enroll free