search
Log In

Recent questions tagged oops

0 votes
2 answers
1
A default catch block catches, [A]. all thrown objects [B]. no thrown objects [C]. any thrown object that has not been caught by an earlier catch block [D]. all thrown objects that have been caught by an earlier catch block
asked May 19, 2019 in Programming logan1x 148 views
1 vote
0 answers
2
Please tell why the answer is C, why not A or B?
asked Nov 12, 2018 in Compiler Design Balaji Jegan 104 views
2 votes
0 answers
3
Which of the following concepts of OOPS means exposing only necessary information to client? A. Encapsulation B. Abstraction C. Data hiding D. Data binding Answer is C, Why?
asked Jan 11, 2018 in Object Oriented Programming Manu Madhavan 306 views
2 votes
2 answers
4
Which of the following statements is correct? Every class containing abstract method must not be declared abstract Abstract class cannot be directly initiated with new operator Abstract class cannot be initiated Abstract class contains definition of implementations
asked Aug 20, 2016 in Java jothee 1.7k views
4 votes
1 answer
5
Which one of the following is correct, when a class grants friend status to another class? The member functions of the class generating friendship can access teh members of the friend class All member functions of the class granted friendship have unrestricted access to the members of the class granting the friendship Class friendship is reciprocal to each other There is no such concept
asked Aug 14, 2016 in Object Oriented Programming jothee 2.5k views
2 votes
1 answer
6
When the inheritance is private, the private methods in base class are _____ in the derived class (in C++) inaccessible accessible protected public
asked Jul 30, 2016 in Object Oriented Programming jothee 1.8k views
1 vote
2 answers
7
Which of the following is incorrect in C++? when we write overloaded function we must code the function for each usage when we write function template we code the function only once it is difficult to debug macros templates are more efficient than macros
asked Jul 30, 2016 in Object Oriented Programming jothee 1.7k views
2 votes
3 answers
8
Which of the following, in C++, is inherited in a derived class from base class? constructor destructor data members virtual methods
asked Jul 30, 2016 in Object Oriented Programming jothee 1.2k views
To see more, click for the full list of questions or popular tags.
...