General discussion

Locked

Basic Idea about Object-Orriented Prommi

By ranajiii ·
Tell me about My Topic in detail

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Briefly !

by raghx_2000 In reply to Basic Idea about Object-O ...

Object-Oriented Design :-
Or object-oriented programming. In traditional procedural languages (such as C, Fortran, and Cobol) code and data are separate. In the object-oriented approach, code and data that belong together can be combined into objects. Object-oriented design is further characterized by the use of inheritance (derived classes), polymorphism, encapsulation, and virtual functions (C++) in programming.

inheritance:-
In object-oriented programming, a method for deriving new classes from existing classes. The derived class inherits the description of its base class(es), but can be extended by adding new member variables and functions and by using virtual functions. A class can inherit from a single base class (single inheritance) or from any number of direct base classes (multiple inheritance). A class derived using multiple inheritance has the attributes of all of its base classes.

polymorphism:-
In C++, the concept of a single interface for multiple functions. Forexample, different classes can each contain a function called print that prints data in a format appropriate for objects of that class. The compiler selects the appropriate print function for each call to print. See also virtual function.

encapsulation :-
In object-oriented programming, the process of hiding the internal workings of a class to support or enforce abstraction. A class's interface, which is public, describes what a class can do, while the implementation, which is private or protected, describes how it works.

class:-
A type that defines the interface of a particular kind of object. A class definition defines instance variables and methods, class variables and methods, and specifies the immediate superclass (or superclasses) and the interfaces that the class implements.

virtual function :-
A member function of a base class, where the function is declared with the keyword virtual. If a base cl

Collapse -

Briefly !

by raghx_2000 In reply to Basic Idea about Object-O ...

Object-Oriented Design :-
Or object-oriented programming. In traditional procedural languages (such as C, Fortran, and Cobol) code and data are separate. In the object-oriented approach, code and data that belong together can be combined into objects. Object-oriented design is further characterized by the use of inheritance (derived classes), polymorphism, encapsulation, and virtual functions (C++) in programming.

inheritance:-
In object-oriented programming, a method for deriving new classes from existing classes. The derived class inherits the description of its base class(es), but can be extended by adding new member variables and functions and by using virtual functions. A class can inherit from a single base class (single inheritance) or from any number of direct base classes (multiple inheritance). A class derived using multiple inheritance has the attributes of all of its base classes.

polymorphism:-
In C++, the concept of a single interface for multiple functions. Forexample, different classes can each contain a function called print that prints data in a format appropriate for objects of that class. The compiler selects the appropriate print function for each call to print. See also virtual function.

encapsulation :-
In object-oriented programming, the process of hiding the internal workings of a class to support or enforce abstraction. A class's interface, which is public, describes what a class can do, while the implementation, which is private or protected, describes how it works.

class:-
A type that defines the interface of a particular kind of object. A class definition defines instance variables and methods, class variables and methods, and specifies the immediate superclass (or superclasses) and the interfaces that the class implements.

virtual function :-
A member function of a base class, where the function is declared with the keyword virtual. If a base cl

Back to Software Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums