Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

ISBN: 978-0764535376

More Books

Students also viewed these Databases questions