what is object oriented programming and procedure oriented
programming?
Answer Posted / achal ubbott
OOP is basically a way of doing organized programming. When
in old times, computer programs began to expand hugely then
a need to organize the code became important. So OOP came
into being.
Otherwise procedural programming(like in C) is enough to
get things going. But huge programs in C become difficult
to deal with. Since everything is global so a lot of
inconsistencies may arise.
| Is This Answer Correct ? | 9 Yes | 8 No |
Post New Answer View All Answers
How do you achieve polymorphism?
Why polymorphism is used in oops?
What are the 3 principles of oop?
Whats is abstraction in oops?
What is the problem with multiple inheritance?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
What are constructors in oop?
This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.
What is the main purpose of inheritance law?
What are the three parts of a simple empty class?
What is basic concept of oop?
What is the difference between static polymorphism and dynamic polymorphism?
How do you define a class in oop?
Are polymorphisms mutations?
Prepare me a program for the animation of train