WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.

Answer Posted / kunal prakash

object is the instance of the class.
class contains data and member functions.

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1972


What is purpose of inheritance?

636


Why interface is used?

547


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

2746


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1768






What are different oops concepts?

565


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1409


How oops is better than procedural?

581


What is the difference between encapsulation and polymorphism?

580


What is polymorphism and why is it important?

551


to find out the minimum of two integer number of two different classes using friend function

1635


What is abstraction with example?

594


What is the oops and benefits of oops programming?

544


What is static modifier?

623


What is solid in oops?

592