Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for object-oriented-programming
0
votes
4
answers
1
C++
Çșȇ ʛấẗẻ
408
views
Çșȇ ʛấẗẻ
asked
Aug 28, 2023
Object Oriented Programming
non-gate
object-oriented-programming
+
–
0
votes
2
answers
2
UGC NET CSE | June 2005 | Part 2 | Question: 13
The data hiding is taken care by : Abstraction Encapsulation Modularity Inheritance
The data hiding is taken care by :AbstractionEncapsulationModularityInheritance
go_editor
867
views
go_editor
asked
Mar 26, 2020
Object Oriented Programming
ugcnetcse-june2005-paper2
object-oriented-programming
non-gate
+
–
0
votes
1
answer
3
Object Oriented Programming
Imagine a scenario where new child classes are introduced frequently from a base class. The method calling sequences for every child class are the same but the implementations are different among the child classes. Here which design pattern would you like to apply? Explain the reasons with examples j
Imagine a scenario where new child classes are introduced frequently from a base class. The method calling sequences for every child class are the same but the implementa...
rayhanrjt
311
views
rayhanrjt
asked
Dec 16, 2022
Programming in C
object-oriented-programming
programming
+
–
0
votes
0
answers
4
Java Programming
Suppose, you are implementing Overdraft Account (OD) class using java for a banking app. An OD type account is opened with an approved loan limit (ex 100000/-). The account holder can deposit any amount of money in the OD account at any time. S ... amount of his OD limit. How can u handle the problems mentioned in the question? Write necessary java codes to solve the problem.
Suppose, you are implementing “Overdraft Account (OD)” class using java for a banking app. An OD type account is opened with an approved loan limit (ex 100000/-). The...
rayhanrjt
323
views
rayhanrjt
asked
Dec 15, 2022
Programming in C
programming
object-oriented-programming
java
+
–
1
votes
1
answer
5
Programming Question
An object whose contents cannot be changed once the object is created is called: (a) Immutable object (b) Mutable object (c) Smart object (d) Rich object
An object whose contents cannot be changed once the object is created is called:(a) Immutable object(b) Mutable object(c) Smart object(d) Rich object
rsansiya111
377
views
rsansiya111
asked
Oct 7, 2022
Programming in C
java
object-oriented-programming
+
–
0
votes
1
answer
6
Programming Quiz
Which one of the following features is supported by 𝐶 ++ but not by JAVA ? (a) Encapsulation (b) Multiple inheritance (c) Concurrency (d) Garbage collection
Which one of the following features is supported by 𝐶 ++ but not by JAVA ?(a) Encapsulation(b) Multiple inheritance(c) Concurrency(d) Garbage collection
rsansiya111
993
views
rsansiya111
asked
Oct 7, 2022
Object Oriented Programming
object-oriented-programming
+
–
0
votes
1
answer
7
Oops Quiz
Which one of the following fundamental features of the OOPs is not supported by 𝐶++? (a) Persistence (b) Delegation (c) Genericity (d) Data abstraction
Which one of the following fundamental features of the OOPs is not supported by 𝐶++?(a) Persistence(b) Delegation(c) Genericity(d) Data abstraction
rsansiya111
774
views
rsansiya111
asked
Oct 7, 2022
Object Oriented Programming
object-oriented-programming
non-gate
+
–
0
votes
0
answers
8
Consider the following class definitions in a hypothetical Object Oriented language that supports inheritance and uses dynamic binding. The language should not be assumed to be either Java or C++, though the syntax is similar. Class P { void f(int i) { print(i); } } Class Q subclass of P { void f(int i) { print(2*i); } } Now consider the following program fragment: P x = new Q(); Q y = new Q(); P z = new Q(); x.f(1); ((P)y).f(1); z.f(1); Here ((P)y) denotes a typecast of y to P. The output produced by executing the above program fragment will be (A) 1 2 1 (B) 2 1 1 (C) 2 1 2 (D) 2 2 2
Jeetmoni saikia
593
views
Jeetmoni saikia
asked
Oct 10, 2022
Programming in C
programming
object-oriented-programming
+
–
0
votes
1
answer
9
KPGCET-CSE-2019-10
Object-oriented paradigm is used in the analysis stage of SDLC to Structure the behavioural part of the business process Design the structural part of Computer memory Design the object-oriented programming language Design the structure of the database.
Object-oriented paradigm is used in the analysis stage of SDLC toStructure the behavioural part of the business processDesign the structural part of Computer memoryDesign...
gatecse
774
views
gatecse
asked
Aug 4, 2019
Object Oriented Programming
kpgcet-cse-2019
non-gate
object-oriented-programming
+
–
5
votes
4
answers
10
ISRO2017-44
Which of the following is associated with objects? State Behavior Identity All of the above
Which of the following is associated with objects?StateBehaviorIdentityAll of the above
sh!va
4.6k
views
sh!va
asked
May 7, 2017
Object Oriented Programming
isro2017
object-oriented-programming
non-gate
+
–
4
votes
3
answers
11
ISRO2009-33
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is Inheritance Polymorphism Overfunctioning Overriding
The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, isInheritancePolymorphismOverfunctioning...
go_editor
7.0k
views
go_editor
asked
Jun 15, 2016
Object Oriented Programming
isro2009
object-oriented-programming
non-gate
+
–
0
votes
3
answers
12
UGC NET CSE | January 2017 | Part 2 | Question: 14
Which of the following operators cannot be overloaded in $\textsf{C/C++}$ ? Bitwise right shift assignment Address of Indirection Structure reference
Which of the following operators cannot be overloaded in $\textsf{C/C++}$ ?Bitwise right shift assignmentAddress ofIndirectionStructure reference
go_editor
2.1k
views
go_editor
asked
Mar 24, 2020
Object Oriented Programming
ugcnetjan2017ii
object-oriented-programming
+
–
1
votes
1
answer
13
NIELIT Scientific Assistant A 2020 November: 49
During exception handling, which of the following statements hold true? Single try can have multiple associated catch with it A single Catch can have multiple try associated with it Finally block execute only when the class is inherited For a given exception, multiple catch can execute
During exception handling, which of the following statements hold true?Single try can have multiple associated catch with itA single Catch can have multiple try associate...
gatecse
731
views
gatecse
asked
Dec 9, 2020
Object Oriented Programming
nielit-sta-2020
object-oriented-programming
+
–
0
votes
1
answer
14
NIELIT 2016 DEC Scientist B (IT) - Section B: 46
Object oriented inheritance models: "is a kind of" relationship. "has a" relationship. "want to be" relationship. "contains" of relationship.
Object oriented inheritance models:"is a kind of" relationship."has a" relationship."want to be" relationship."contains" of relationship.
admin
3.7k
views
admin
asked
Mar 31, 2020
Object Oriented Programming
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
+
–
0
votes
1
answer
15
NIELIT 2016 DEC Scientist B (IT) - Section B: 1
Given a class named student, which of the following is a valid constructor declaration for the class? Student student(){} Private final student(){} Student(student s){} Void student(){}
Given a class named student, which of the following is a valid constructor declaration for the class?Student student(){}Private final student(){}Student(student s){}Void ...
admin
6.5k
views
admin
asked
Mar 31, 2020
Object Oriented Programming
nielit2016dec-scientistb-it
non-gate
object-oriented-programming
+
–
0
votes
0
answers
16
UGC NET CSE | October 2020 | Part 2 | Question: 12
Consider the following recursive Java function $f$ that takes two long arguments and returns a float value: public static float f (long m, long n) { float result = (float)m / (float)n; if (m < 0 || n<0) return 0.0f; else result -=f(m*2, ... } Which of the following real values best approximates the value of $f(1,3)$? $0.2$ $0.4$ $0.6$ $0.8$
Consider the following recursive Java function $f$ that takes two long arguments and returns a float value:public static float f (long m, long n) { float result = (float)...
go_editor
1.4k
views
go_editor
asked
Nov 20, 2020
Object Oriented Programming
ugcnetcse-oct2020-paper2
non-gate
object-oriented-programming
+
–
1
votes
6
answers
17
UGC NET CSE | July 2018 | Part 2 | Question: 5
Given below are three implementations of the $\text{swap()}$ function in $\text{C++}$ ... $\text{(a)}$ only $\text{(b)}$ only $\text{(c)}$ only $\text{(b)}$ and $\text{(c)}$ only
Given below are three implementations of the $\text{swap()}$ function in $\text{C++}$ :$\begin{array}{|l|l|l|} \hline \qquad \qquad \text{(a)} & \qquad \qquad \text{(b)}...
Pooja Khatri
4.7k
views
Pooja Khatri
asked
Jul 13, 2018
Object Oriented Programming
ugcnetcse-july2018-paper2
object-oriented-programming
+
–
0
votes
1
answer
18
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 28
What is ‘Basis of Encapsulation’? object class method all of the mentioned
What is ‘Basis of Encapsulation’?objectclassmethodall of the mentioned
admin
9.3k
views
admin
asked
Apr 1, 2020
Object Oriented Programming
nielit2017oct-assistanta-it
non-gate
object-oriented-programming
+
–
0
votes
3
answers
19
UGC NET CSE | January 2017 | Part 2 | Question: 11
Which of the following cannot be passed to a function in C++? Constant Structure Array Header file
Which of the following cannot be passed to a function in C++?ConstantStructureArrayHeader file
go_editor
2.4k
views
go_editor
asked
Mar 24, 2020
Object Oriented Programming
ugcnetjan2017ii
object-oriented-programming
functions
+
–
1
votes
2
answers
20
NIELIT 2017 July Scientist B (IT) - Section B: 40
Give the output #include<iostream> using namespace std; class Base1{ public: ~Base1() {cout<<"Base1's destructor"<<endl;} }; class Base2 { public: ~Base2(){cout<<"Base2's ... 's Destructor Derived's Destructor Base$2$'s destructor Base$1$'s destructor Derived's Destructor Compiler Dependent
Give the output #include<iostream using namespace std; class Base1{ public: ~Base1() {cout<<"Base1's destructor"<<endl;} }; class Base2 { public: ~Base2(){cout<<"Base2's ...
admin
1.7k
views
admin
asked
Mar 30, 2020
Object Oriented Programming
nielit2017july-scientistb-it
non-gate
object-oriented-programming
+
–
Page:
1
2
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register