logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How will you define an abstract class?


  • Correct Answer
  • An abstract class is defined with the keyword abstract Eg: public abstract class MyClass { } 


  • Technology problems


    Search Results


    • 1. What is an abstract class?
    • Discuss
    • 2. What is the difference between a constructor and a method?
    • Discuss
    • 3. What are the steps required to execute a query in JDBC?
    • Discuss
    • 4. What is JDBC Driver ?
    • Discuss
    • 5. What is a class, member and local variable?
    • Discuss
    • 6. What is the difference between array and ArrayList ?
    • Discuss
    • 7. What is diamond problem?
    • Discuss
    • 8. What is the security mechanism used in java?
    • Discuss
    • 9. What is encapsulation?
    • Discuss
    • 10. What is inheritance?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment