What are the OOPS concepts?
Answers were Sorted based on User's Feedback
Answer / renganayaki
OOPS described as Object Oriented Programing
Language.oops are used for Data Structure Programing
supported in C++ and Java.oops Identify following aspects:
1.Class
2.Objects
3.encapsulation
4.Abstraction
5.Inheritance
6.Polymorphism
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nagesh
1.Class
2.Object
3.Inheritance
4.Polymorphism
5.Encapsulation
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / amruta
There are 7 basic concepts of oop
1.object&classes
2.data abstraction
3.data encapsulation
4.polymorphism
5.inheritance
6.dynamic binding
7.msg passing
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sri
object oriented programming language concepts are,
object
data abstraction
encapsulation
inheritance
polymorphism
message passing
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / dlp
objects
data abstraction
inheritance
encapsulation
dynamic binding
message passing
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / jiji m v
Object and class
Data abstraction
Data encapsulation
Inheritance
Overloading
Polymorphism
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ram
OOPS's organize to program based on data..
object and other set of interface is that data...
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nehru
Encapsulation
Data Abstraction
Polymorphism
Persistence
Deli cation
Generosity
Extensibility
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / anil kumar battula
1.object
2.class
3.data Abstraction & encapsulation
4.Inheritence
5.polymorphism
6.data binding
7.message passing
Is This Answer Correct ? | 0 Yes | 0 No |
How to overload new operator in c++
Why do pointers exist?
What is the difference between the c++ & java?
Which keyword is written to use a variable declared in one class in the other class?
write a progra in c++ using class & object to find out wheather a given no. is prim or not.
swapping program does not use third variable
What are the three parts of a simple empty class?
c++ is a pure object oriented programming or not?
what about you? wahat is your object? introduce your self?
1 Answers Ajmal Perfumes, TCS,
What is Dynamic Polymorphism?
Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation
Why do we use inheritance?