what is object oriented programming and procedure oriented
programming?
Answers were Sorted based on User's Feedback
Answer / subhashish sen
Object oriented programming as the name says everything is
object.that means the fundamental entity in object oriented
programming is an "OBJECT".For this we need to create a
class and by creating an object of that class we can
manipulate.And this programming follows bottom-up approach.
But in procedure oriented proramming,the fundamental entity
is a "FUNCTION"(procedure).that means if dividing a complex
program into number of functions and execute it in
collective manner.It follows top-down approach.
Is This Answer Correct ? | 33 Yes | 3 No |
Answer / 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 |
Answer / poorna chandar rao.yerrabothu
difference bettwen the procedural oriented programming
language and object oriented programming language
one example of procedural oriented programmin language "C"
in c language is system dependent programming language
system devlopment programming language means
for example sample.c is the one programm when the compile
this program it generates mechinecode language in this
mechine code languge perticular operating system executes if
supoose it executes onother operating system its not working
thats why procedural oriented programming language is system
dependent
if suppose object oriented programming JAVA is system
dependent because sample.java after compile it genreates
byte code instruction it executes ant operating system thats
why object oriented programming languge is system
independent language
Is This Answer Correct ? | 6 Yes | 11 No |
why the argument is passed by reference to a copy constructor?example?
What is polymorphism ? Explain with examples
what is the need of abstraction? what is abstraction?what is the abstraction for stack?
Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0
What are the fields of vtable
how can we design a magic square in c++?or suggest me the basic idea of it.
Why multiple inheritance is not allowed?
What is multiple inheritance? Give Example
Difference ways of Polymorphism?
what is ltti
write a program to find 2^n+1 ?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box