Q. If default constructor is not defined, then how the objects of the class will be created?

  • (A) The compiler will generate error
  • (B) Error will occur at run-time.
  • (C) Compiler provides its default constructor to build the object.
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compiler provides its default constructor to build the object.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
180
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate