Online Test for Java
- A .class file contains bytecodes?
TrueFalse
- Constructor overloading is not possible in Java.
TrueFalse
- 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 classdifferent name, same number of arguments having the same data type as a method in the super classsame name but different number of arguments as a method in the super classsame name, same number of arguments but different data types as a method in the super class
- Which of the following is NOT a keyword in Java?
Instanceofemuntransientstrictfp
- The modifiers public and static cannot written in either order "public static" or "static public".
TrueFalse
- Garbage Collection is manual process.
TrueFalse
- If you access an uninitialized local variable will result?
Syntax ErrorCompile Time ErrorRun Time ErrorNo Error
- Choose best option that describes Constructor.
Have no return typeUse name of the class and have no return typeUse name of the classNone of the above
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