Question
a.
Object must be created before using members of a class
b.
Memory for an object is allocated only after its constructor is called
c.
Objects can’t be passed by reference
d.
Objects size depends on its class data members
Posted under Object Oriented Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which among the following is false?
Similar Questions
Discover Related MCQs
Q. Which of the following is incorrect?
View solution
Q. The object can’t be:
View solution
Q. What is size of the object of following class (64 bit system)?
class student { int rollno; char name[20]; static int studentno; };
View solution
Q. Functions can’t return objects. State True or False.
View solution
Q. How members of an object are accessed?
View solution
Q. If a local class is defined in a function, which of the following is true for an object of that class?
View solution
Q. Which among the following is wrong?
View solution
Q. Object declared in main() function:
View solution
Q. When an object is returned___________
View solution
Q. Which among the following is correct?
View solution
Q. Object can’t be used with pointers because they belong to user defined class, and compiler can’t decide the type of data may be used inside the class. State True or False.
View solution
Q. Which feature of OOP indicates code reusability?
View solution
Q. If a function can perform more than 1 type of tasks, where the function name remains same, which feature of OOP is used here?
View solution
Q. If different properties and functions of a real world entity is grouped or embedded into a single element, what is it called in OOP language?
View solution
Q. Which of the following is not feature of pure OOP?
View solution
Q. Which among the following doesn’t come under OOP concept?
View solution
Q. Which feature may be violated if we don’t use classes in a program?
View solution
Q. How many basic features of OOP are required for a programming language to be purely OOP?
View solution
Q. The feature by which one object can interact with another object is:
View solution
Q. ___________ underlines the feature of Polymorphism in a class.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!