Principles of Java - Core Java Objective Type Questions with Answers

Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Questions
6 In Java InheritanceMultiple inheritance is possible in java by means of
A package
B object
C interfaces
D class

Answer: Option [C]
7 Method overloading
A is a technique for implementing abstraction
B is a technique for implementing polymorphism
C is a technique for implementing encapsulation
D none of the above

Answer: Option [B]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
8 Which of the following keyword is used to invoke superclass of an overridden method?
A native
B new
C super
D static

Answer: Option [C]
9 Which method/methods cannot be overridden?
A static
B final
C only [A]
D both [A] and [B]

Answer: Option [D]
10 Select the correct statement
A Method overloading is called compile time polymorphism
B Method overriding is called runtime polymorphism
C Only [B] is correct
D Both [A] and [B] are correct

Answer: Option [D]

Chapters

Assam Direct Recruitment Test Series

Computer Science Topics