Latest Answer: AN UN ASSIGNED OBJECT IS CALLED WILD OBJECT byyDEEPAK(TCS) ...
Latest Answer: Encapsulation is nothing but hiding information also called datahiding...while abstraction denotes the essential characteristics of an object which differentiates from other kinds of object... ...
Latest Answer: OOPs is Object Oriented Programming.The great thing about OOPs is that is all about classes and objects which can easily correlated with real life scenarios.Class is the general thing and object is the specilisation of general thingFor example if ...
What is meant by macros?how it works?what is the out put of the program#define sqr(x) x*xvoid main(){ int a,b=3;a=sqr(b+2);cout
Latest Answer: The question is both merits and demerits of OOPS... But you have answered only the merits... Please make me know the demerits also... As you never answered the demerits, do you mean that there is no demerits in OOPS? ...
Please give me clear idea about these following declaration.const char *q="hello";*q='m';/*error*/q="bye";char const *s="hello";*s='m';/*error*/s="bye";char *const t="hello";*t='m';/*works*/t="bye";/*error*/
Latest Answer: I Think Computer languages have certain set of operators ,which the user can use while coding ,these operators have predefined meaning in the respective language i.e the operators can operate only on a specific set of variables/constants.Languages ...
How could I, in C++ declare a class point. The class point has two private data members x and y of type float. The class point has a parameterized constructor to initialize both the data members i.e. x and y. The class point has a member function display() that display the value of x and y. Create two objects p1 and p2 with your desired data and display the values of x and y of p1 and p2. Now create a third object p3 by using the expression p3=p1+p2 and display the values of x and y of p3.
Latest Answer: int **p;p=new int*[3];for(int i=0;i
View page << Previous 1 2 [3] 4 5 6 7 8 9 10 Next >>

Go Top