Question: True / False : Java programming Determine whether each statement below is true or false. (2 marks each) 1. Overriding is the process of having
Determine whether each statement below is true or false. (2 marks each) 1. Overriding is the process of having more than one methods with same name and same signature in super and sub class but with different implementation. 2. It is ok to include code that can throw both unchecked and checked exceptions in the same try block. 3. In JavaFx, TextArea components are used for input and output data. 4. It is ok to use this in a class method. 5. Any class that contains an abstract method must be declared to be an abstract class. 6. addAll() is a common method between ArrayList and HashSet objects. 7. You can declare reference variables to have an interface type. 8. Composition and inheritance are alternative class relationship representing the same kind of real-world relationship. 9. Methods can be overloaded with a difference only in the type of return result. 10. In JavaFX, Circle and Line are considered as UI Controls
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
