Q. Which of the following statements are incorrect?

  • (A) default constructor is called at the time of object declaration
  • (B) constructor can be parameterized
  • (C) finalize() method is called when a object goes out of scope and is no longer needed
  • (D) finalize() method must be declared protected
πŸ’¬ Discuss
βœ… Correct Answer: (C) finalize() method is called when a object goes out of scope and is no longer needed

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
208
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
99%
Success Rate