Contructors

Contructors

Professional Development

•

30 Qs

quiz-placeholder

Similar activities

Quiz on Hardware and Software Components

Quiz on Hardware and Software Components

Professional Development

•

35 Qs

Quiz on 8051 Microcontroller

Quiz on 8051 Microcontroller

Professional Development

•

25 Qs

Participación Mod Maestría

Participación Mod Maestría

Professional Development

•

25 Qs

Pre-Test - EFFLUENT TREATMENT PLANT &  BIO-POLISHING PLANT

Pre-Test - EFFLUENT TREATMENT PLANT & BIO-POLISHING PLANT

Professional Development

•

27 Qs

Commissioner WSE

Commissioner WSE

Professional Development

•

30 Qs

Software Testing Quiz

Software Testing Quiz

Professional Development

•

30 Qs

Form B - PEM

Form B - PEM

Professional Development

•

30 Qs

Contructors

Contructors

Assessment

Quiz

•

Engineering

•

Professional Development

•

Practice Problem

•

Medium

Created by

SrinivasaRao SrinivasaRao

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of the given program?

Object will be created Successfully

Compile Time Error

Successfully Compiled, but no output

None

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output?

Sample

Compile Time error

Successfully comiled, but nothing will be printed

None

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output?

Compile Time error

Sample

Nothing will be printed

Run Time error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output?

Compile Time error

During object creation virtual Default constructor will be created

Run Time error

None

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a Constructor _________

Constructor is a Special Operator

Constructor is a Special keyword

Constructor is a Special Method

Constructor is a Special variable

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the Syntax of the Constructor?

return_type Name()

{

}

data_type Name()

{

}

modifier Name()

{

}

none

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

When the constructor will be called/invoked?

It will not invoke directly, we need to call it explicitly

It will be invoked automatically during the object creation

It will be invoked during the main() method execution

None

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?