Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Hot questions in Object Oriented Programming
1
votes
1
answer
81
oop c++
How is the order of invocation of destructors different from constructors?
How is the order of invocation of destructors different from constructors?
iarnav
342
views
iarnav
asked
May 27, 2017
3
votes
1
answer
82
UGC NET CSE | December 2014 | Part 2 | Question: 15
Which of the following differentiates between overloaded functions and overridden functions ? Overloading is a dynamic or runtime binding and overridden is a static or compile time binding. Overloading is a static or compile time ... class is called function overloading, while redefining a function in a friend class is called function overriding.
Which of the following differentiates between overloaded functions and overridden functions ? Overloading is a dynamic or runtime binding and overridden is a static or co...
makhdoom ghaya
4.8k
views
makhdoom ghaya
asked
Jul 20, 2016
Object Oriented Programming
ugcnetcse-dec2014-paper2
object-oriented-programming
+
–
0
votes
1
answer
83
UGC NET CSE | June 2014 | Part 2 | Question: 44
A friend function can be used to Avoid arguments between classes. Allow access to classes whose source code is unavailable. Allow one class to access an unrelated class. None of the above
A friend function can be used toAvoid arguments between classes.Allow access to classes whose source code is unavailable. Allow one class to access an unrelated class. No...
makhdoom ghaya
5.1k
views
makhdoom ghaya
asked
Jul 1, 2016
Object Oriented Programming
ugcnetcse-june2014-paper2
object-oriented-programming
friend-function
+
–
2
votes
1
answer
84
UGC NET CSE | June 2016 | Part 3 | Question: 37
Implicit return type of a class constructor is not of class type itself class type itself a destructor of class type a destructor not of class type
Implicit return type of a class constructor isnot of class type itselfclass type itselfa destructor of class typea destructor not of class type
go_editor
1.7k
views
go_editor
asked
Aug 20, 2016
Object Oriented Programming
ugcnetcse-june2016-paper3
object-oriented-programming
non-gate
+
–
1
votes
1
answer
85
inheritance
class dog : public x,public y is an example of multiple inheritance repeated inheritance linear inheritance none
class dog : public x,public yis an example ofmultiple inheritancerepeated inheritancelinear inheritancenone
Meenakshi Sharma
3.2k
views
Meenakshi Sharma
asked
Sep 5, 2016
1
votes
0
answers
86
operator overloading
which of the following statements are true for operator overloading in C++? a. The * operator can be overloaded to perform division b. The * operator can be overloaded to perform assignment c. ** can be overloaded to perform "to the power of" d. Operators can be overloaded only inside classes
which of the following statements are true for operator overloading in C++?a. The * operator can be overloaded to perform divisionb. The * operator can be overloaded to p...
Meenakshi Sharma
900
views
Meenakshi Sharma
asked
Feb 24, 2017
3
votes
2
answers
87
UGC NET CSE | Junet 2015 | Part 3 | Question: 39
Which one of the following is correct? Java applets cannot be written in any programming language An applet is not a small program An applet can be run on its own Applets are embedded in another applications
Which one of the following is correct?Java applets cannot be written in any programming languageAn applet is not a small programAn applet can be run on its ownApplets are...
go_editor
3.8k
views
go_editor
asked
Aug 1, 2016
Object Oriented Programming
ugcnetcse-june2015-paper3
object-oriented-programming
java
+
–
2
votes
1
answer
88
UGC NET CSE | Junet 2015 | Part 3 | Question: 37
In Java, when we implement an interface method, it must be declared as Private Protected Public Friend
In Java, when we implement an interface method, it must be declared asPrivateProtectedPublicFriend
go_editor
4.4k
views
go_editor
asked
Aug 1, 2016
Object Oriented Programming
ugcnetcse-june2015-paper3
object-oriented-programming
java
+
–
2
votes
1
answer
89
UGC NET CSE | June 2016 | Part 3 | Question: 38
It is possible to define a class within a class termed as nested class. There are __ types of nested classes 2 3 4 5
It is possible to define a class within a class termed as nested class. There are __ types of nested classes2345
go_editor
3.0k
views
go_editor
asked
Aug 20, 2016
Object Oriented Programming
ugcnetcse-june2016-paper3
object-oriented-programming
java
+
–
2
votes
1
answer
90
UGC NET CSE | June 2016 | Part 3 | Question: 42
When one object reference variable is assigned to another object reference variable then a copy of the object is created a copy of the reference is created a copy of the reference is not created It is illegal to assign one object reference variable to another object reference variable
When one object reference variable is assigned to another object reference variable thena copy of the object is createda copy of the reference is createda copy of the ref...
go_editor
3.4k
views
go_editor
asked
Aug 20, 2016
Object Oriented Programming
ugcnetcse-june2016-paper3
object-oriented-programming
java
+
–
0
votes
1
answer
91
UGC NET CSE | August 2016 | Part 2 | Question: 13
If a function is friend of a class, which one of the following is wrong ? A function can only be declared a friend by a class itself. Friend functions are not members of a class, they are associated with it. Friend functions are members of a class. It can have access to all members of the class, even private ones.
If a function is friend of a class, which one of the following is wrong ?A function can only be declared a friend by a class itself.Friend functions are not members of a ...
makhdoom ghaya
3.6k
views
makhdoom ghaya
asked
Sep 24, 2016
Object Oriented Programming
ugcnetcse-aug2016-paper2
object-oriented-programming
friend-function
c++
+
–
1
votes
1
answer
92
UGC NET CSE | June 2010 | Part 2 | Question: 13
Member of a class specified as ______ are accessible only to method of the class. Private Public Protected Derive
Member of a class specified as ______ are accessible only to method of the class.PrivatePublicProtectedDerive
makhdoom ghaya
2.7k
views
makhdoom ghaya
asked
Sep 15, 2016
Object Oriented Programming
ugcnetcse-june2010-paper2
object-oriented-programming
+
–
2
votes
1
answer
93
Is it possible to have a function call on the left hand side of the equality operator?
Is it possible to have a function call on the left hand side of the equality operator? a. No, because you can only have variables on the left side b. Yes, but only in case of functions that do not ... of functions that return a pointer value d. Yes, but only in case of functions that return a reference value.
Is it possible to have a function call on the left hand side of the equality operator?a. No, because you can only have variables on the left sideb. Yes, but only in case ...
Meenakshi Sharma
610
views
Meenakshi Sharma
asked
Feb 24, 2017
Object Oriented Programming
non-gate
programming-in-c
+
–
1
votes
1
answer
94
UGC NET CSE | December 2012 | Part 3 | Question: 54
The Object Modelling Technique (OMT) uses the following three kinds of model to describe a system Class Model , Object Model and Analysis Model Object Model, Dynamic Model and Functional Model Class Model, Dynamic Model and Functional Model Object Model, Analysis Model and Dynamic Model
The Object Modelling Technique (OMT) uses the following three kinds of model to describe a systemClass Model , Object Model and Analysis ModelObject Model, Dynamic Model ...
go_editor
3.0k
views
go_editor
asked
Jul 13, 2016
Object Oriented Programming
ugcnetcse-dec2012-paper3
software-design
object-oriented-programming
+
–
2
votes
2
answers
95
UGC NET CSE | December 2015 | Part 3 | Question: 29
Which of the following is used to make an Abstract class? Making at least one member function as pure virtual function Making at least one member function as virtual function Declaring as Abstract class using virtual keyword Declaring as Abstract class using static keyword
Which of the following is used to make an Abstract class?Making at least one member function as pure virtual functionMaking at least one member function as virtual functi...
go_editor
3.0k
views
go_editor
asked
Aug 9, 2016
Object Oriented Programming
ugcnetcse-dec2015-paper3
object-oriented-programming
abstract-class
+
–
2
votes
1
answer
96
UGC NET CSE | June 2012 | Part 3 | Question: 70, UGCNET-Sep2013-III: 52
Assume that we have constructor functions for both base class and derived class. Now consider the declaration in main() Base *P=New Derived; In what sequence will the constructor be called? Derived class ... by Derived class constructor Base class constructor will not be called Derived class constructor will not be called
Assume that we have constructor functions for both base class and derived class. Now consider the declaration inmain()Base *P=New Derived;In what sequence will the constr...
go_editor
2.8k
views
go_editor
asked
Jul 8, 2016
Object Oriented Programming
ugcnetcse-june2012-paper3
ugcnetcse-sep2013-paper3
object-oriented-programming
java
programming-in-c
+
–
3
votes
2
answers
97
ISRO2008-43
Consider the following code segment: for (int k=0; k<20; k=k+2) { if (k % 3 == 1) system.out.print(k+ " "); } What is printed as a result of executing the code segment? 4 16 4 10 16 0 6 12 18 1 4 7 10 13 16 19
Consider the following code segment:for (int k=0; k<20; k=k+2) { if (k % 3 == 1) system.out.print(k+ " "); }What is printed as a result of executing the code segment?4 16...
go_editor
3.7k
views
go_editor
asked
Jun 12, 2016
Object Oriented Programming
isro2008
java
+
–
2
votes
1
answer
98
UGC NET CSE | December 2013 | Part 3 | Question: 10
Match the following with respect to relationship objects and classes $:$ ... $\text{a-iii, b-iv, c-ii, d-i}$ $\text{a-ii, b-iv, c-i, d-iii}$
Match the following with respect to relationship objects and classes $:$$\begin{array}{} & \textbf{List – I} && \textbf{List – II} \\ \text{a.} & \text{State diagram}...
go_editor
2.4k
views
go_editor
asked
Jul 27, 2016
Object Oriented Programming
ugcnetcse-dec2013-paper3
object-oriented-programming
+
–
1
votes
2
answers
99
UGC NET CSE | December 2015 | Part 2 | Question: 12
Consider the following two statements: A publicly derived class is a subtype of its base class Inheritance provides for code resuse Which of the following statements is correct? Both statements a and b are correct Neither of the statements a and b are correct Statement a is correct and b is incorrect Statement a is incorrect and b is correct
Consider the following two statements:A publicly derived class is a subtype of its base classInheritance provides for code resuseWhich of the following statements is corr...
go_editor
2.6k
views
go_editor
asked
Aug 8, 2016
Object Oriented Programming
ugcnetcse-dec2015-paper2
object-oriented-programming
+
–
4
votes
2
answers
100
UGC NET CSE | June 2016 | Part 2 | Question: 14
When a method in subclass has the same name and type signatures as a method in the superclass, then the method in the subclass ____ the method in the superclass. Overloads Friendhips Inherits Overrides
When a method in subclass has the same name and type signatures as a method in the superclass, then the method in the subclass ____ the method in the superclass.Overloads...
go_editor
1.9k
views
go_editor
asked
Aug 14, 2016
Object Oriented Programming
ugcnetcse-june2016-paper2
object-oriented-programming
+
–
Page:
« prev
1
2
3
4
5
6
7
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register