Computer Science, asked by simranjitsandhu2731, 1 year ago

Simple definition of class and object for beginners in c++

Answers

Answered by ultimateasher112
0

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 class; it contains real values instead of variables. The class is one of the defining ideas of object-oriented programming.

Answered by MRSmartBoy
1

Explanation:

Cleanliness is the

habit of keeping things and surroundings clean. Cleanliness is always associated

with virtuous character. Hence the saying, ‘Cleanliness is next to Godliness’

came into being.  All great men of all

times have stressed on the importance of leading a clean and morally upright

life for the attainment of all-round happiness. According to Rumford, effects

of cleanliness extend to man's moral character. Virtue never dwelt with filth. Cleanliness

as a virtue has been part of Indian culture since ancient times. Vedas have

laid strict instructions for students and spiritual aspirants to strictly

observe cleanliness of body, mind and thoughts for faster progress in the path

of self-actualization and enlightenment. So, cleanliness is an indispensable

virtue of character without which the objectives of leading a healthy, happy,

fulfilling, and optimum life is impossible.

Similar questions