amit


{ City }
< Country > india
* Profession * student
User No # 52541
Total Questions Posted # 0
Total Answers Posted # 2

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 1
Questions / { amit }
Questions Answers Category Views Company eMail




Answers / { amit }

Question { Wipro, 12758 }

What is the correct syntax for inheritance?




1) class aclass : public superclass


2) class aclass inherit superclass


3) class aclass <-superclass


Answer

class aclass:public superclass (in c#,c++)
class aclass inherit superclass(in vb.net)

Is This Answer Correct ?    1 Yes 1 No

Question { 13443 }

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


Answer

class:
is keyword which is used to define the user defined
datatypes to achive the incasulation,
object:
object is instanse of the class which is used for run
(invocks) the class like a key(object) of car(class)

Is This Answer Correct ?    1 Yes 0 No