Question
a.
Can be used directly with << and >> symbols respectively
b.
Can be used directly with >> and << symbols respectively
c.
Must be used as a function which accepts 2 arguments
d.
Must be used as a function which accepts 3 arguments
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. Object cout and cin _________________
Similar Questions
Discover Related MCQs
Q. Objects type ____________________
View solution
Q. An object can be used to represent _________________
View solution
Q. Objects can be used _____________________
View solution
Q. Which among the following is not a use of object?
View solution
Q. Which object can be used to access the standard input?
View solution
Q. A single object can be used __________________
View solution
Q. If same object name is given to different objects of different class then _____________
View solution
Q. Which among the following best describes abstract classes?
View solution
Q. Can abstract class have main() function defined inside it?
View solution
Q. If there is an abstract method in a class then, ________________
View solution
Q. If a class is extending/inheriting another abstract class having abstract method, then _______________________
View solution
Q. Abstract class A has 4 virtual functions. Abstract class B defines only 2 of those member functions as it extends class A. Class C extends class B and implements the other two member functions of class A. Choose the correct option below.
View solution
Q. Abstract classes can ____________________ instances.
View solution
Q. We ___________________ to an abstract class.
View solution
Q. Which among the following is an important use of abstract classes?
View solution
Q. Use of pointers or reference to an abstract class gives rise to which among the following feature?
View solution
Q. The abstract classes in java can _________________
View solution
Q. Abstract class can’t be final in java.
View solution
Q. Can abstract classes have static methods (Java)?
View solution
Q. It is _________________________ to have an abstract method.
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!