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 |
Can an interface inherit a class?
create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.
2 Answers CTS, Delhi University,
What is virtual class and friend class?
Can we override main method?
what is the difference between class and structure in C++?
Why do pointers exist?
What is the main feature of oop?
I am developing a payroll system mini project.I used file concept in program for reading and writing.When the program is reloading into the memory that is if i execute next time the file was cleaned and adding data from the starting this is my problem.I want to strore the previous data and if i want to add any record that should be next of previous data.Please help me.
What is a mixin class?
Child cObj = new Parent() Wahts the output ?
what is overloading
What makes a language oop?