Answer Posted / divyaja
Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
Differentiate between the message and method in c++?
Define what is constructor?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
How do you clear a buffer in c++?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What is a dynamic binding in c++?
Can java be faster than c++?
What is the last index number in an array of 100 characters a) 100 b) 99 c) 101
What is the difference between a definition and a declaration?
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
What is using namespace std in cpp?
How does atoi function work?
what is COPY CONSTRUCTOR and what is it used for?
Why is c++ still popular?
What is the history of c++?