Flashcards
SCC 212
Cards in this deck (10)
- 1What is an instance?Realisation of a class
- 2What is an actual parameter and a formal parameter?joe.olderThan(18) <- actual
olderThan(int rating) <- formal - 3is java pass by value or by reference?Value
- 4What happens to java objects that are no longer referenced?Garbage collected
- 5What is the motivation of inheritance?Promote reuse and extensibility
- 6What is method overriding?using a parent method in the sub class
- 7What is method overloading?Adding parameters to call different functions
- 8What is polymorphism?Allowing you to refer to a class as its parent
(ford as a car) - 9What is an interface?Abstract spec of zero or more methods
can be considered as a abstract class without any functionality - 10What is recursion?
Information
- Description
- Flashcards on SCC 212, created by Alex Stout on 15/05/2017.
- Created by
- Alex Stout
- Views
- 1
- Rating