logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is Constructor?


  • Correct Answer
  • Constructor is not a special method Constructor is block of code that is executed automatically whenever object of the class is created 


  • Technology problems


    Search Results


    • 1. What is difference between methods and blocks?
    • Discuss
    • 2. In a class if private data member is declared then how to get value of that data member?
    • Discuss
    • 3. In a class if private data member is declared then how to set data to that private data member?
    • Discuss
    • 4. What is the differnce among public, protected and package access data?
    • Discuss
    • 5. When this. non-static datamember is compulsory inside non-static method
    • Discuss
    • 6. How to call argument constructor?
    • Discuss
    • 7. What is different among String, StringBuffer, StringBuilder?
    • Discuss
    • 8. What is wrapping?
    • Discuss
    • 9. What is unwrapping?
    • Discuss
    • 10. What is JAR file? what are the main uses of JAR files?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment