\u0986\u09ae\u09b0\u09be \u099c\u09c0\u09ac\u099c\u0997\u09a4\u09c7\u09b0 \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09ac\u09bf\u09a8\u09cd\u09af\u09be\u09b8 \u099c\u09be\u09a8\u09bf\u0964 \u09af\u09c7\u09ae\u09a8 : \u09ae\u09be\u09a8\u09c1\u09b7\u09c7\u09b0 \u09ac\u09c8\u099c\u09cd\u099e\u09be\u09a8\u09bf\u0995 \u09a8\u09be\u09ae Homo sapiens<\/em> \u0964 Mammalia<\/em> \u09ac\u09be \u09b8\u09cd\u09a4\u09a8\u09cd\u09a8\u09aa\u09be\u09df\u09c0 \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09b0 \u098f\u0995\u099f\u09bf \u09aa\u09cd\u09b0\u09be\u09a3\u09c0 \u09ae\u09be\u09a8\u09c1\u09b7\u0964 \u098f \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09a4\u09c7 \u09b0\u09df\u09c7\u099b\u09c7 \u09ac\u09be\u09a8\u09b0 \u0993 \u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0 \u09b8\u09b9 \u0986\u09b0\u0993 \u0985\u09a8\u09c7\u0995\u0964 \u09a4\u09be\u09b9\u09b2\u09c7,Mammalia class \u099f\u09bf\u09b0 \u09b8\u0995\u09b2 \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af \u09ae\u09be\u09a8\u09c1\u09b7,\u09ac\u09be\u09a8\u09b0 \u0993 \u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0\u09b0 \u09b0\u09df\u09c7\u099b\u09c7\u0964 \u0985\u09b0\u09cd\u09a5\u09be\u09ce Mammalia Class \u098f\u09b0 Object \u09b9\u09b2 \u09ae\u09be\u09a8\u09c1\u09b7\/\u09ac\u09be\u09a8\u09b0\/\u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0 \u0995\u09be\u09b0\u09a8 \u098f\u09b0\u09be \u09aa\u09cd\u09b0\u09a4\u09cd\u09af\u09c7\u0995\u09c7 Mammalia Class \u099f\u09bf\u09b0 Representative \u0964 \u098f\u099f\u09be\u0987 OOP \u098f\u09b0 \u09ae\u09cc\u09b2\u09bf\u0995 \u09a7\u09be\u09b0\u09a8\u09be\u0964<\/p>\n C \u0993 C++ \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09aa\u09be\u09b0\u09cd\u09a5\u0995\u09cd\u09af \u09b9\u09b2 C++ \u098f OOP(Object Oriented programming) \u098f\u09b0 \u09b8\u09c1\u09ac\u09bf\u09a7\u09be \u09b0\u09df\u09c7\u099b\u09c7 \u09af\u09be JAVA \u09a4\u09c7 \u09aa\u09c2\u09b0\u09cd\u09a3\u09a4\u09be \u09aa\u09c7\u09df\u09c7\u099b\u09c7 \u0964 \u09aa\u09cd\u09b0\u09cb\u0997\u09cd\u09b0\u09be\u09ae\u09bf\u0982 \u0995\u09b0\u09be\u09b0 \u09b8\u09ae\u09df \u0986\u09ae\u09b0\u09be \u09af\u0996\u09a8 \u0995\u09cb\u09a8 Class \u098f\u09b0 Declaration \u09a6\u09bf\u09ac \u09a4\u0996\u09a8 \u0990 Class \u098f\u09b0 \u09ac\u09b8\u09cd\u09a4\u09c1 \u09ac\u09be Object \u098f\u09b0 \u0995\u09bf \u0995\u09bf \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af \u09a5\u09be\u0995\u09ac\u09c7 \u09a4\u09be \u09a8\u09bf\u09b0\u09cd\u09a7\u09be\u09b0\u09a3 \u0995\u09b0\u09c7 \u09a6\u09c7\u09ac\u0964 \u09a6\u09c1\u0987 \u09a7\u09b0\u09a3\u09c7\u09b0 \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af \u09a5\u09be\u0995\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7, \u09e7\u0964 Attribute \u09e8\u0964 Member function<\/p>\n \u0989\u09a6\u09be\u09b9\u09b0\u09a8: \/\/these are the member functions An example : Class Car{ \/\/ Car is the user defined classname \/\/these are the member functions int main(){<\/p>\n Car obj1,obj2; \/\/ declaring of an object of Class Car<\/p>\n obj1.getnameofcar(); \/\/ calling the function for obj1 obj2.getnameofcar(); \/\/ calling the function for obj2 cout<<ob1.carname<<endl; cout<<ob2.carname<<endl; return 0; Definitions:<\/strong> An instance<\/strong> of a class is another word for an actual object. If classes are an abstract Object is the more general term, but both instances and objects are the concrete representation of a class. \u0986\u09ae\u09b0\u09be \u099c\u09c0\u09ac\u099c\u0997\u09a4\u09c7\u09b0 \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09ac\u09bf\u09a8\u09cd\u09af\u09be\u09b8 \u099c\u09be\u09a8\u09bf\u0964 \u09af\u09c7\u09ae\u09a8 : \u09ae\u09be\u09a8\u09c1\u09b7\u09c7\u09b0 \u09ac\u09c8\u099c\u09cd\u099e\u09be\u09a8\u09bf\u0995 \u09a8\u09be\u09ae Homo sapiens \u0964 Mammalia \u09ac\u09be \u09b8\u09cd\u09a4\u09a8\u09cd\u09a8\u09aa\u09be\u09df\u09c0 \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09b0 \u098f\u0995\u099f\u09bf \u09aa\u09cd\u09b0\u09be\u09a3\u09c0 \u09ae\u09be\u09a8\u09c1\u09b7\u0964 \u098f \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09a4\u09c7 \u09b0\u09df\u09c7\u099b\u09c7 \u09ac\u09be\u09a8\u09b0 \u0993 \u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0 \u09b8\u09b9 \u0986\u09b0\u0993 \u0985\u09a8\u09c7\u0995\u0964 \u09a4\u09be\u09b9\u09b2\u09c7,Mammalia class \u099f\u09bf\u09b0 \u09b8\u0995\u09b2 \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af \u09ae\u09be\u09a8\u09c1\u09b7,\u09ac\u09be\u09a8\u09b0 \u0993 \u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0\u09b0 \u09b0\u09df\u09c7\u099b\u09c7\u0964 \u0985\u09b0\u09cd\u09a5\u09be\u09ce Mammalia Class \u098f\u09b0 Object \u09b9\u09b2 \u09ae\u09be\u09a8\u09c1\u09b7\/\u09ac\u09be\u09a8\u09b0\/\u09b6\u09bf\u09ae\u09aa\u09be\u09a8\u09cd\u099c\u09c0 \u0995\u09be\u09b0\u09a8 \u098f\u09b0\u09be \u09aa\u09cd\u09b0\u09a4\u09cd\u09af\u09c7\u0995\u09c7 Mammalia Class \u099f\u09bf\u09b0 Representative \u0964 \u098f\u099f\u09be\u0987 OOP \u098f\u09b0 … <\/p>\n
\nObject Oriented programming \u0986\u09ae\u09be\u09a6\u09c7\u09b0 \u09af\u09c7 \u09b8\u09c1\u09ab\u09b2\u0997\u09c1\u09b2\u09cb \u09a6\u09bf\u09df\u09c7\u099b\u09c7 \u09b8\u09c7\u0997\u09c1\u09b2\u09cb \u09b9\u09b2\u0983
\n01. Data Encapsulation
\n02. Data Hiding
\n03. Polymorphism
\n\u098f\u0987 \u09a4\u09bf\u09a8\u099f\u09bf \u09b8\u09ae\u09cd\u09aa\u09b0\u09cd\u0995\u09c7 \u09aa\u09b0\u09ac\u09b0\u09cd\u09a4\u09c0\u09a4\u09c7 \u09ac\u09bf\u09b8\u09cd\u09a4\u09be\u09b0\u09bf\u09a4 \u09ac\u09b2\u09ac\u0964<\/p>\n
\n[code]
\nClass Car{ \/\/ Car is the user defined classname
\n\/\/these three are attribue of the class Car
\nChar carname[20];
\nint wheel;
\nchar color;<\/p>\n
\nvoid getnameofcar(){
\ncin>>carname;
\n}
\nvoid getnumberofwheel(){
\ncin>>wheel;
\n}
\n}; \/\/a semicolon must be placed after the declarationof that class
\n[\/code]
\n\u09a4\u09be\u09b9\u09b2\u09c7 \u09a6\u09c7\u0996\u09be \u09af\u09be\u099a\u09cd\u099b\u09c7 \u09af\u09c7 Car \u09b6\u09cd\u09b0\u09c7\u09a3\u09c0\u09b0 \u09b8\u0995\u09b2 Object \u098f\u09b0 \u09a4\u09bf\u09a8\u099f\u09bf Attribute \u09a5\u09be\u0995\u09ac\u09c7 \u09af\u09a5\u09be\u0983 carname,wheel \u098f\u09ac\u0982 color \u0964 \u098f\u09ac\u0982 \u09e8 \u099f\u09bf function \u0986\u099b\u09c7\u0964 \u098f\u0987 \u09ac\u09c8\u09b6\u09bf\u09b7\u09cd\u099f\u09cd\u09af\u0997\u09c1\u09b2\u09cb \u09a4\u09bf\u09a8 \u09a7\u09b0\u09a8\u09c7\u09b0 \u09b9\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u09af\u09a5\u09be\u0983 public, private and protected.<\/p>\n
\n[code]
\n#include<stdio.h>
\n#include <iostream>
\nusing namespace std;<\/p>\n
\n\/\/these three are attribue of the class Car
\nChar carname[20];
\nint wheel;
\nchar color;<\/p>\n
\nvoid getnameofcar(){
\ncin>>carname;
\n}
\nvoid getnumberofwheel(){
\ncin>>wheel;
\n}
\n}; \/\/a semicolon must be placed after the declarationof that class<\/p>\n
\nobj1.getnumberofwheel();<\/p>\n
\nobj2.getnumberofwheel();<\/p>\n
\ncout<<ob1.wheel<<endl;<\/p>\n
\ncout<<ob2.wheel<<endl;<\/p>\n
\n}[\/code]
\n\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/<\/p>\n
\nA class<\/strong> is a template for multiple objects with similar features. Classes embody all the
\nfeatures of a particular set of objects.<\/p>\n
\nrepresentation of an object, an instance is its concrete representation.<\/p>\n
\nIn fact, the terms instance and object are often used interchangeably in OOP language. An instance of a Car and a Car object are both the same thing.<\/p>\n","protected":false},"excerpt":{"rendered":"