Definition of class?

Answer Posted / manju

class is a collection of data members and member functions

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are single and multiple inheritances in c++?

570


Can you help me with this one? Make a program that when a user inputed a Product Name, it will display its price, and when the user inputed the quantity of the inputed product, it will show its total price. The output must be like this: Product Name: Price: Quantity: Total Price: ..this is the list of products to be inputed: Cellphone - 1500 Washing Machine - 5200 Television - 6000 Refrigirator - 8000 Oven - 2000 Computer - 11000 thanks..:D

3042


Is c++ faster than c?

587


Is c++ high level programming language?

669


What is decltype c++?

553






How should runtime errors be handled in c++?

607


What is class invariant in c++?

738


What is runtime polymorphism in c++?

580


What is low level language in simple words?

551


Is c++ vector a linked list?

542


Write a function that swaps the values of two integers, using int* as the argument type?

600


What is the best c++ book for beginners?

568


What is input operator in c++?

579


What are the syntactic rules to be avoid ambiguity in multiple inheritance?

628


What do you understand by pure virtual function? Write about its use?

573