logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • why protected modifier?


  • Correct Answer
  • Outside the package if any other class other than JVM calls the finalize method our class then it is not allowed 


  • Technology problems


    Search Results


    • 1. What is the use of tostring() method?
    • Discuss
    • 2. why overriding finalize() method?
    • Discuss
    • 3. What is the purpose of overriding toString() method?
    • Discuss
    • 4. What is final method?
    • Discuss
    • 5. What is the use of overloading ? or why overloading?
    • Discuss
    • 6. What is abstract method?
    • Discuss
    • 7. Why interface data is static?
    • Discuss
    • 8. Why interface data is final?
    • Discuss
    • 9. Why interface data is public?
    • Discuss
    • 10. How to create a file on the hard disk by using File class object?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment