πŸ“Š JAVA
Q. What is a parameterized constructor in Java?
  • (A) A constructor with no parameters
  • (B) A constructor with parameters that initialize object properties
  • (C) A constructor with a return type
  • (D) A constructor with static methods
πŸ’¬ Discuss
βœ… Correct Answer: (B) A constructor with parameters that initialize object properties

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
204
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Singhal
Publisher
πŸ“ˆ
81%
Success Rate