
OOPS Flashcard
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A constructor that accepts __________ parameters is called the default constructor.
Back
0
2.
FLASHCARD QUESTION
Front
What is the purpose of constructors in C++?
Back
To initialize the data members of objects
3.
FLASHCARD QUESTION
Front
Which of the following is true about constant objects in C++? Options: The member functions of a constant object can modify the object. A constant object cannot be used as an argument to a non-const member function. The data members of a constant object can be modified. A constant object can be created only with a parameterized constructor.
Back
A constant object cannot be used as an argument to a non-const member function.
4.
FLASHCARD QUESTION
Front
Back
Default Constructor Parameterized Constructor: 10 Destructor Parameterized Constructor: 5 Destructor
5.
FLASHCARD QUESTION
Front
What is the purpose of the "protected" access modifier in C++ inheritance?
Back
To allow access to the member variables and functions from within the class and its subclasses
6.
FLASHCARD QUESTION
Front
Back
Shape constructor called, Circle constructor called, Cylinder constructor called, Cylinder destructor called, Circle destructor called, Shape destructor called
7.
FLASHCARD QUESTION
Front
.............. method and operator overloading can be achieved.
Back
C++
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
22 questions
Arabic Vocab
Flashcard
•
KG - University
25 questions
Untitled Quiz
Flashcard
•
University
22 questions
WEB TECHNOLOGY
Flashcard
•
University
26 questions
Day 1
Flashcard
•
KG
20 questions
Erosion & Deposition Flashcard Review
Flashcard
•
KG - University
17 questions
Philippine History
Flashcard
•
University
23 questions
Morphology and Morphemes
Flashcard
•
University
23 questions
History of Switzerland
Flashcard
•
KG - University
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