Presentation is loading. Please wait.

Presentation is loading. Please wait.

Assessment – Java Basics: Part 2

Similar presentations


Presentation on theme: "Assessment – Java Basics: Part 2"— Presentation transcript:

1 Assessment – Java Basics: Part 2
The quiz contains 10 questions. You will have one attempt to answer each question. You can exit the quiz at any time. If you exit the quiz without completing all 10 questions, on return you will have to start the quiz from the beginning. Scoring 80% or higher means you have understood the topic well. Start

2 When a sub class has only one super class, what type of inheritance it is?
Single Multilevel Multiple

3 Which of the following keyword is provided by Java to achieve Inheritance?
transfer extends

4 When final keyword is preceded to a class, what does it indicates?
Class can not be inherited Class must be inherited Class created from other class

5 Identify the odd one? Method Overloading Method Overriding
Method Calling

6 All methods in an abstract class must be abstract?
True False

7 What type of relationship does Inheritance represents?
not - a is - a has - a

8 Abstract class can be instantiated?
True False

9 What does an abstract class indicate?
It must be inherited It must not be inherited It’s all methods are abstract

10 Why is Interface introduced in Java?
To model Single Inheritance To model Hierarchical Inheritance To model Multiple Inheritance

11 When final keyword is preceded to a method in a class, what does it indicate?
Method can not be overloaded Method can not be overriden Method can be overriden

12 The Results


Download ppt "Assessment – Java Basics: Part 2"

Similar presentations


Ads by Google