+ 2
Define class?
class is behavioural concept
4 Antworten
+ 4
class is interesting concept !! It is collection of objects..... objects refers to real world entity . Take for example , class - Animal its objects would be dog, cat,lion etc....when you go for object oriented languages class plays very vital role .....keep rockin !!! keep coding :)
+ 2
We have two types of class
private are not excute for outside the program.
public are those which are excute outside
from the class
+ 2
int
char name
void data void
void display void
are a parts of which class