Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 1)
1.
You can use C++ as a procedural, as well as an object-oriented, language
Discussion:
25 comments Page 1 of 3.
Satyam Sahu said:
2 years ago
C++ is a multi-paradigm programming language, which means it supports multiple programming paradigms, including procedural and object-oriented programming.
Procedural programming is a programming paradigm that emphasizes the use of procedures or functions to organize the program into small, reusable blocks of code. C++ supports procedural programming through the use of functions, structures, and arrays.
Procedural programming is a programming paradigm that emphasizes the use of procedures or functions to organize the program into small, reusable blocks of code. C++ supports procedural programming through the use of functions, structures, and arrays.
Varija said:
1 decade ago
C++ is procedure oriented as well as object oriented.
The programs can be implemented by using procedures(i.e functions as like in C),hence it is called procedure oriented.
With the help of classes and objects also we can implement the programming logic,hence C++ is called object oriented and uses OO concepts like inheritance etc.
The programs can be implemented by using procedures(i.e functions as like in C),hence it is called procedure oriented.
With the help of classes and objects also we can implement the programming logic,hence C++ is called object oriented and uses OO concepts like inheritance etc.
Priyanka said:
1 decade ago
In a Procedural Language, we use subroutines/procedures to write a piece of code that could be used repetitively. In object oriented programming language, there are objects of classes where the classes have instance variables and methods. In C++, we can do both of the above tasks, thus it belongs to both the categories.
Saurabh said:
1 decade ago
All imperative languages are procedural oriented, Imperative languages are those which use the mutable data to change the state of program, only functional programming are excluded from this category. like LISP, HASKELL.
In that sense even JAVA is a procedural language which has an OOP approach to problem solving.
In that sense even JAVA is a procedural language which has an OOP approach to problem solving.
Balamurgan said:
1 decade ago
Procedural Language means Step by Step Programming.
Ex: C, C++, COBOL, ALGOL & FORTRAN.
Where C++ is a Superset of C, Which have all the functionalities of C and also additional functionalities like inheritance, Polymorpism and Wrapping can be possible.
Ex: C, C++, COBOL, ALGOL & FORTRAN.
Where C++ is a Superset of C, Which have all the functionalities of C and also additional functionalities like inheritance, Polymorpism and Wrapping can be possible.
Kanchan said:
1 decade ago
C++ is a middle level language because c++ has features of both low level language i.e. concentration on what's going on in the machine hardware and high level language i.e. concentration on the program itself.
Dharambir said:
1 decade ago
C++ is the supercast of C language hence support all the features of C. And we all know C is procedural language.
And also C++ support the feature of object hence it is also object oriented language.
And also C++ support the feature of object hence it is also object oriented language.
(1)
Anshuman said:
1 decade ago
We are able to use c++ as procedural because it gives the whole functionality of c that is procedural language...and the c++ is actually object oriented so it is both procedural and oo language.
Linkeshwar said:
1 decade ago
C++ is both a procedural and object oriented programming language because C++ does not imply strict usage of classes. Class is optional only.
C++ program can be created using functions alone.
C++ program can be created using functions alone.
Jagadish kumar said:
1 decade ago
We are able to use c++ as procedural because it gives the whole functionality of C that is procedural language and C++ also use class, using class may be calling using object.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers