Java Multiple Choice Questions
- Which of these is a super class of all errors and exceptions in the Java language?
- RunTimeExceptions
- Throwable
- Catchable
- None of the above
Added By : Amit
- Which of these is supported by method overriding in Java?
- Abstraction
- Encapsulation
- Polymorphism
- None of the mentioned
Added By : Diwakar
- Which of the following is NOT a keyword in Java?
- Instanceof
- emun
- transient
- strictfp
Added By : Suraj
- JAR stands for ________.
- Java Application Runner
- Java Archive Runner
- Java Archive
- None of these
Added By : Kritika
- Which method is called first by an applet program?
- start( )
- run( )
- init( )
- begin( )
Added By : Sombir
- Which of the following differentiates between overloaded functions and overridden functions?
- Overloading is a dynamic or runtime binding and overridden is a static or compile time binding.
- Overloading is a static or compile time binding and overriding is dynamic or runtime binding.
- Redefining a function in a friend class is called overloading, while redefining a function in a derived class is called as overridden function.
- Redefining a function in a derived class is called function overloading, while redefining a function in a friend class is called function overriding.
Added By : Varun
- To override a method in Java, we need to define a method in sub class with the
- same name, same number of arguments having the same data types as a method in the super class
- different name, same number of arguments having the same data type as a method in the super class
- same name but different number of arguments as a method in the super class
- same name, same number of arguments but different data types as a method in the super class
Added By : Kiran Kumar
- A constructor that is automatically generated in the absence of explicit constructors called?
- Default Constructor
- Nullary Constructor
- Empty Constructor
- All the above
Added By : Akash
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015