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 class in programming?
Think about how architects use blueprints.
Give an example of an object.
Name a specific instance of something.
What defines a class in programming?
Think about what defines how we create something.
An object is directly related to which of the following?
Remember the relationship between objects and classes.
Create your own class for a 'Book' with at least three attributes and two methods. Describe each.
Consider what makes a book unique.
How would you modify the 'Car' class to include an additional method for honking the horn? Describe the method.
Think of common features in cars.
5 more questions in this section. Enroll free to practise them all.
Enroll free