Answer Posted / preethi
In object-oriented programming , a class is a template
definition of the method s and variable s in a particular
kind of object . Thus, an object is a specific instance of
a classClass is the Collection of Methods and Datafield, in
other
word we can say class is user defined Data Types
; it contains real values instead of variables
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Can you explain polymorphism?
What is encapsulation in ict?
What is a class in oop?
What is destructor in oop?
What is overriding vs overloading?
Where You Can Use Interface in your Project
write a C++ program for booking using constructor and destructor.
What is the real time example of encapsulation?
Write a program to sort the number with different sorts in one program ??
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
How do you explain polymorphism?
Can we have inheritance without polymorphism?
What is encapsulation c#?
What is class in oop with example?
What are constructors in oop?