Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a non-primitive data type? Give an example.
Think of types that can store more than one value.
Name a non-primitive type in Java.
Consider structures that have a more complex nature.
What is the primary characteristic of non-primitive data types?
Consider types that can encapsulate collections of data.
True or False: Strings in Java can be modified after they've been created.
Think about whether you can change a string directly.
Create a Java program that utilizes an array to store names of five students and prints them out one by one.
Remember how to declare and loop through an array.
Design an interface named 'Animal' with methods 'eat' and 'sleep', and implement it in a class 'Dog'.
Think about how interfaces define methods that classes must implement.
4 more questions in this section. Enroll free to practise them all.
Enroll free