Which function incorporates a membership 'identity label' in the header?

CRYPTEC TECHNICAL QUIZ 3RD SEM 2ND ROUND

Quiz
•
Computers
•
University
•
Hard
PRAKHYATH KUDVA
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Member functions
Normal functions
Inline functions
Constant functions
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the extra feature in classes which was not in the structures?
Member functions
Data members
Public access specifier
Static Data allowed
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which definition best defines the concept of abstraction?
Hides the important data
Hides the implementation and showing only the features
Hiding the implementation
Showing the important data
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which among the following is not a member of the class?
Virtual function
Constant function
Static function
Friend function
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What is the size of a class?
Sum of the size of all inherited variables along with the variables of the same class
The size of the class is the largest size of the variable of the same class
Classes in the programming languages do not have any size
Sum of the size of all the variables within a class.
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following variable violates the definition of encapsulation?
Array variables
Local variables
Global variables
Public variables
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Box(double w, double h, double d) {
this.width = w;
this.height = h;
this.depth = d;
}
What is the purpose of “this” keyword in the above code snippet?
this is a reference to the method which was invoked
this can be used inside any method to refer to the current object
this is used to initialize and declare objects
this is used to initialize a method within a class
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Data Structure & Algorithm-Quiz-1

Quiz
•
University
20 questions
Code Junction 4

Quiz
•
University
23 questions
Java Array

Quiz
•
University
20 questions
ITS665_Chap4

Quiz
•
University
20 questions
UTS - Struktur Data

Quiz
•
University
20 questions
OOP

Quiz
•
University
20 questions
Quantitative Aptitude Series

Quiz
•
University
22 questions
c++

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade