Can a program runs or executes even if a constructor is not created by the programmer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can a program runs or executes even if a constructor is not created by the programmer?

OOP

24th Sep 2020, 1:36 PM
Mae Ann Velasco
Mae Ann Velasco - avatar
2 Answers
+ 1
Pls use tags to mention language name ,and use description box to describe about your problem not tags,
24th Sep 2020, 1:40 PM
Abhay
Abhay - avatar
+ 1
Compiler provides default empty constructor automatically if you don't provide a constructor.. Pls only add relevant tags like language, concept..
24th Sep 2020, 2:48 PM
Jayakrishna 🇮🇳