πŸ“Š JAVA
Q. What is true about constructor?
  • (A) It can contain return type
  • (B) It can take any number of parameters
  • (C) It can have any non access modifiers
  • (D) Constructor cannot throw an exception
πŸ’¬ Discuss
βœ… Correct Answer: (B) It can take any number of parameters

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
200
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Gopal Sharma
Publisher
πŸ“ˆ
90%
Success Rate