logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is an abstract class?


  • Correct Answer
  • An abstract class is an incomplete class An abstract class is defined with the keyword abstract We cannot create an object of the abstract class because it is not complete It sets a behavioral protocol for all its child classes 


  • Technology problems


    Search Results


    • 1. What is the difference between a constructor and a method?
    • Discuss
    • 2. What are the steps required to execute a query in JDBC?
    • Discuss
    • 3. What is JDBC Driver ?
    • Discuss
    • 4. What is a class, member and local variable?
    • Discuss
    • 5. X implements Y, Z Arguments: 1. X should be class 2. Y, Z should be interfaces

    • Options
    • A. Only 1 is true
    • B. Only 2 is true
    • C. Both 1 and 2 are true
    • D. None
    • Discuss
    • 6. How will you define an abstract class?
    • Discuss
    • 7. What is the difference between array and ArrayList ?
    • Discuss
    • 8. What is diamond problem?
    • Discuss
    • 9. What is the security mechanism used in java?
    • Discuss
    • 10. What is encapsulation?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment