Question
What happens if a subclass does not explicitly call a
superclass constructor?Solution
If a subclass constructor does not explicitly call a superclass constructor using super(), the compiler automatically inserts a call to the superclass's no-argument constructor as the first statement in the subclass constructor. If the superclass does not have a no-argument constructor, a compilation error will occur.
Who among the following lives on flat at 2 of floor no. 4?
____ is kept on the eighth position?
Which of the following statements is true?
Who among the following appeared for IBPS PO?
Who lives on the 4th floor?
How many persons are giving interview between F and B?
Which of the following statements is true as per the given arrangement?Â
How many persons live above W?
Which of the following is Illa’s favorite subject?
Who among the following has exam scheduled at 7:00pm?