Practice Questions
Practice questions have been divided into several sections. I recommend writing out your solutions to these problems on paper. Try working through at least a couple of problems in each section.
Tricky Code Segments
: Determine what is printed by a number of tricky code segments. (
Solutions
)
Writing Classes
: Complete the implementation of several small classes. (
Solutions
)
Arrays
: Implement a number of methods for a class containing a collection of objects. (
Solutions
)
Using an API (Reference)
: Use the classes provided to solve complex tasks. (
Solutions
)
Methods
: Write simple methods involving strings, characters, numbers, loops, and printing. (
Solutions
)