What is a class?

Answer Posted / priya

class is a collecetion of data members and member
functions .it is also a user defined data type...

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop with example?

639


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


Why do we use polymorphism in oops?

571


What is the difference between static polymorphism and dynamic polymorphism?

572


What is the difference between inheritance and polymorphism?

581






IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

1569


Can an interface inherit a class?

551


What is the benefit of oop?

565


What do you mean by variable?

567


What is object in oop with example?

688


What is inheritance in oop?

591


Can enum be null?

581


What are benefits of oop?

628


Why is polymorphism used?

576


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6479