Ruby is a perfect Object Oriented Programming Language. The features of the object-oriented programming language include:
class class :
Class is also is an Object (like any other object in the system) but it is not direct instance of Object, it is an instance of a derived class (Class in this case)
Class object:
An object-oriented program involves classes and objects. A class is the blueprint from which individual objects are created. In object-oriented terms, we say that your bicycle is an instance of the class of objects known as bicycles.
Class integer:
- Data Encapsulation:
- Data Abstraction:
- Polymorphism:
- Inheritance:
class class :
Class is also is an Object (like any other object in the system) but it is not direct instance of Object, it is an instance of a derived class (Class in this case)
Class object:
An object-oriented program involves classes and objects. A class is the blueprint from which individual objects are created. In object-oriented terms, we say that your bicycle is an instance of the class of objects known as bicycles.
Class integer:
No comments:
Post a Comment