download Mastguru Android App

Question Detail

Which class cannot be subclassed (or extended) in java?

  • abstract class
  • parent class
  • Final class
  • None of above
Similar Questions :

1. All collection classes are available in

  • java.io package
  • java.lang package
  • java.awt package
  • java.util package

2. Which of the following statements about arrays is syntactically wrong

  • arrayName[] p = new arrayName[5];
  • arrayName p[5];
  • arrayName[] p [];
  • arrayName p[][] = new arrayName[2][];

3. If method have same name as class name and method don’t have any return type then it is known as

  • Destructors
  • Object
  • Variable
  • Constructor

4. Package of drawstring() method is

  • java.applet
  • java.io
  • javax.swing
  • java.awt

5. JIT meaning

  • java in time
  • just in time
  • join in time
  • none of above
Read more from - Java Objective Questions Answers -Chapter 1
Post a comment

  • Sachin Yadav 7 years ago

    Visit flizzindia free online test series and mock test for ssc cgl

  • JavaCoder 8 years ago

    First question is wrong.:

    The correct question should be:

    Which class cannot be subclassed (or extended) in java?

  • Mritunjay Kumar 10 years ago

    C is the correct ans because with final keyword we can not inherit that class

  • selvi 10 years ago

    it is not necessary that a final class should not be a derived class.

    JavaCoder 8 years ago replied

    Yes, the first question is wrong. Also, the following comment I posted here was removed :

    "First question is wrong.:

    The correct question should be:

    Which class cannot be subclassed (or extended) in java?"