Computer Science, asked by shubham94140, 1 year ago

Every class has at least one costructor function, even when none is declared :
प्रतेयक क्लास में कम से कम एक कन्सट्रक्टर फंक्शन शामिल होता है चाहे कोई भी डिक्लेयर न किया गय
Select one:
O a. TRUE
सही
ob.FALSE
गलत
c. Don't know
पता नहीं
od. True in 70% cases
70% मामलों में सही​

Answers

Answered by tanya732
2

Answer:

true because generally this happen into all classes

Answered by Jasleen0599
0

Option a) True

Every class has at least one costructor function, even when none is declared :

  • Even when none is declared, every class has at least one function Object() function.
  • There is at least one function Object()  for each class. If you don't specify or create a function Object() { [native code] } for a class, C++ creates the so-called Default Constructor for you.
  • Although you are not need to give any constructors for your class, you must exercise caution. For every class without constructors, the compiler automatically supplies a default function Object() with no arguments. The superclass's no-argument function Object()will be called by this default function Object() .

#SPJ2

Similar questions