1. Define a class.

Answer Posted / mayank kumar

class is a user defined data type and it is the collection
of element. it contains two things
data member and member function.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of enum?

706


class type to basic type conversion

2015


Can you inherit a private class?

788


What is polymorphism give a real life example?

677


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

1999






Can an interface inherit a class?

707


What is an advantage of polymorphism?

752


What is new keyword in oops?

735


What is the diamond problem in inheritance?

729


What is a class in oop?

723


Can private class be inherited?

805


What is interface? When and where is it used?

1808


What is the benefit of oop?

693


Is this job good for future? can do this job post grduate student?

1856


What is the example of polymorphism?

699