What is a class?

Answer Posted / rajeshkannan.g

A class is a set of objects.

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 the difference between abstraction and polymorphism?

605


Why do we use oop?

595


What does and I oop mean?

610


What is the important feature of inheritance?

627


What is for loop and its syntax?

592






What is the main feature of oop?

614


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1633


What is the difference between a constructor and a destructor?

602


What is difference between inheritance and polymorphism?

559


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.

687


What are classes oop?

591


How do you answer polymorphism?

575


What is polymorphism and example?

585


What is encapsulation with example?

570


Why do we use encapsulation in oops?

511