Java Online OOPS Quiz-Test your knowledge

      5 Comments on Java Online OOPS Quiz-Test your knowledge

Reference URL’s
Java Platform Standard Edition 8 Documentation
Complete List of Java Basics

Please enter your email:

1. A collection of methods with no implementation is an__?

 
 
 
 

2. Hiding internal data from the outside world, and accessing it only through publicly exposed methods is known as ___?

 
 
 
 

3. What is the default value of boolean?

 
 

4. The Common behavior of SuperClass is inherited to SubClass using the keyword__??

 
 
 
 

5. An Object behavior is exposed through fields.

 
 

6. final variables are constants.

 
 

7. The term API stands for __?

 
 
 
 

8. Real Objects contain State and Behavior.

 
 

9. final classes cannot be extended.

 
 

10. How to fetch the current time in Milliseconds?

 
 
 
 

11. Can we override static methods in JAVA?

 
 

12. What is the superclass for all the Exceptions and Errors in Java?

 
 
 
 

13. final methods cannot be overriden.

 
 

14. An Object state is stored in methods.

 
 

15. Can we Create Abstract Class with out any abstract methods?

 
 





5 comments on “Java Online OOPS Quiz-Test your knowledge

  1. Pingback: Selenium WebDriver Tester Resume,Automation Tools Used

  2. Pingback: MYSQL DataBase testing using Selenium WebDriver-Step by Step Guide

  3. Pingback: Sorting the Dynamic HTML Table List in Selenium WebDriver & Java - TotalQA

  4. harshali

    . Can we Create Abstract Class with out any abstract methods?

    No
    Yes
    Abstract Class can be created without any abstract methods.
    But if the class contains one abstract methods class would be abstract.

    No meaning of above statement
    If any class containes method which is abstract then that class has to be abstract.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *