
Contructors
Quiz
•
Engineering
•
Professional Development
•
Practice Problem
•
Medium
SrinivasaRao SrinivasaRao
Used 5+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
What is the output?
Sample
Compile Time error
Successfully comiled, but nothing will be printed
None
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output?
Compile Time error
Sample
Nothing will be printed
Run Time error
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
30 questions
Commissioner WSE
Quiz
•
Professional Development
30 questions
Software Testing Quiz
Quiz
•
Professional Development
30 questions
Form B - PEM
Quiz
•
Professional Development
35 questions
Quiz on Hardware and Software Components
Quiz
•
Professional Development
25 questions
Quiz on 8051 Microcontroller
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
