What are the main differences between procedure oriented
languages and object oriented languages?
Answer Posted / ankit samal
1. Procedural languages enforce sequential processing
of instructions. Object oriented languages may implement
event driven processing.
2. Procedural languages store all data as global while
OOPs languages support data encapsulation -- all related
data is stored inside one object and only relevant data is
shown to the user.
Procedure Oriented Language: It follows the a procedure
that is simply saying it will go line by line in the code
unless if u mentioned any goto are any code breaking
keywords.
Object Oriented Language: In this each and every program is
called as Object. that is simply saying we will breake the
code in to small pieces and we will call the code when we
want.
| Is This Answer Correct ? | 13 Yes | 5 No |
Post New Answer View All Answers
What is abstraction example?
What are the 4 pillars of oop?
What is balance factor?
What is coupling in oop?
What does <> mean pseudocode?
What is interface? When and where is it used?
Can we create object of interface?
What makes a language oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
What is the importance of oop?
write a program that takes input in digits and display the result in words from 1 to 1000
What are the benefits of oop?
what are the ways in which a constructors can be called?
Can we have inheritance without polymorphism?
Write a program to sort the number with different sorts in one program ??