logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the differnce among public, protected and package access data?


  • Correct Answer
  • If we are not using packages and if we are not using inheritance then there is no difference among public, protected and package access data 


  • Technology problems


    Search Results


    • 1. When this. non-static datamember is compulsory inside non-static method
    • Discuss
    • 2. What is stored in the 'this' reference?
    • Discuss
    • 3. Why static method can not call non static method of the same class?
    • Discuss
    • 4. How to assign address to the reference?
    • Discuss
    • 5. What is the syntax to create the object?
    • Discuss
    • 6. In a class if private data member is declared then how to set data to that private data member?
    • Discuss
    • 7. In a class if private data member is declared then how to get value of that data member?
    • Discuss
    • 8. What is difference between methods and blocks?
    • Discuss
    • 9. What is Constructor?
    • Discuss
    • 10. How to call argument constructor?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment