WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answers were Sorted based on User's Feedback
Answer / kp shekhawat
A class is a collection of variables
Object, use the new statement to instantiate a class
Is This Answer Correct ? | 0 Yes | 1 No |
What is this pointer in oop?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.
Templates mean
what is a ststic variable and stiticfunction briefly explain with exmple and in which case we use
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
Why do we use class?
Can you name some types of inheritance?
Can enum be null?
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
What are virtual functions?
what are the ways in which a constructors can be called?