Question: Question 1 ( 2 points ) What will be the output of the following program? Question 1 options: Base Class Constructor Derived Class Constructor Derived

Question 1(2 points)
What will be the output of the following program?
Question 1 options:
Base Class Constructor Derived Class Constructor
Derived Class Constructor 10
Derived Class Constructor
Base Class Constructor
Question 2(1 point)
The modifier used to define a class which does not have objects of its own but acts as a base class for its subclass is?
Question 2 options:
virtual
abstract
sealed
static
Question 3(1 point)
Static methods of a class can be called without creating objects.
Question 3 options:
True
False
Question 4(1 point)
The process of defining a method in a subclass having same name & type signature as a method in its super-class is known as ________________.
Question 4 options:
Method Overloading
Method Overriding
Method Extending
Method Redefining
Question 5(1 point)
Which of these can be overloaded?
Question 5 options:
constructors
methods
both constructors and methods
none of these

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!