πŸ“Š JAVA
Q. What would be the behaviour if one parameterized constructor is explicitly defined?
  • (A) Compilation error
  • (B) Compilation succeeds
  • (C) Runtime error
  • (D) Compilation succeeds but at the time of creating object using default constructor, it throws compilation error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compilation succeeds but at the time of creating object using default constructor, it throws compilation error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
92
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Sonali Mishra
Publisher
πŸ“ˆ
90%
Success Rate