answersLogoWhite

0


Best Answer

see in object oriented programming, data and function are packed inside one module in which data is only accessible by the function of it's own module and the function is the only way data can interact with other modules.In practical use even the private, public and protected things also came up.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are data and functions organized in an object oriented program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is c an object oriented programing language?

C language is not a program, and it isn't an object-oriented language either.


What is object-orientated language?

An object oriented language uses concepts of classes, objects, and methods. Rather than just having plain functions to store procedural instructions, a program written in an object-oriented language like Java has classes that are basically blueprints to create objects. Objects have their own little functions called methods. Objects can have their own variables too. Of course, there are much more complex concepts in object-oriented programming such as inheritance and polymorphism.


Is the high-level language is also an object oriented program?

Not necessarily. Any language with an object-oriented approach will be a high-level language, but a high-level language does not have to use an object-oriented approach.


Is c plus plus is pure object oriented?

No. C is not object-oriented, it is a procedural language.C++, while object-oriented, is not purelyobject-oriented. One of the requirements for a pure object-oriented language is that everything is an object. C++ still has primitive data types (int, long, double, etc.), and so is not purely object-oriented.


What is the difference between object oriented approach and procedure oriented approach?

Object oriented focuses on treating variables as objects that have the ability to perform certain tasks. Procedure oriented uses procedures (functions) to perform tasks on variables. For example, if you were writing a program for a DVD rental store: Object Oriented: thisdvd.assignTitle("Lethal Weapon"); thisdvd.rentTo("John Smith"); Procedure Oriented: String thisdvdnumber = 123; rentDvd(thisdvdnumber, "John Smith"); In the first case, you call functions that belong to object "thisdvd", like assignTitle(), rentTo(), etc. In the second case, you create a variable "thisdvdnumber", then call function "rentDvd()" and tell it which DVD to rent and to whom by passing those variables to it.

Related questions

How are data and functions organized in an object-oriented program?

see in object oriented programming, data and function are packed inside one module in which data is only accessible by the function of it's own module and the function is the only way data can interact with other modules.In practical use even the private, public and protected things also came up.


What are the features of object oriented program?

The features of object oriented programming are Abstraction, Encapsulation, Polymorphism & Inheritance


'C'language is called block structure language why?

Because a C program is constructed via a series of "blocks" or functions. It is not an object oriented language.


What is novell's object-oriented database organized as a hierarchical tree?

edirectory


Why we are specifying C programming as structure oriented program?

Hint. Is not object oriented.


Is c an object oriented programing language?

C language is not a program, and it isn't an object-oriented language either.


What is object-orientated language?

An object oriented language uses concepts of classes, objects, and methods. Rather than just having plain functions to store procedural instructions, a program written in an object-oriented language like Java has classes that are basically blueprints to create objects. Objects have their own little functions called methods. Objects can have their own variables too. Of course, there are much more complex concepts in object-oriented programming such as inheritance and polymorphism.


Is the high-level language is also an object oriented program?

Not necessarily. Any language with an object-oriented approach will be a high-level language, but a high-level language does not have to use an object-oriented approach.


Is c plus plus is pure object oriented?

No. C is not object-oriented, it is a procedural language.C++, while object-oriented, is not purelyobject-oriented. One of the requirements for a pure object-oriented language is that everything is an object. C++ still has primitive data types (int, long, double, etc.), and so is not purely object-oriented.


What is object language?

An object oriented language uses concepts of classes, objects, and methods. Rather than just having plain functions to store procedural instructions, a program written in an object-oriented language like Java has classes that are basically blueprints to create objects. Objects have their own little functions called methods. Objects can have their own variables too. Of course, there are much more complex concepts in object-oriented programming such as inheritance and polymorphism.


What is the difference between object oriented approach and procedure oriented approach?

Object oriented focuses on treating variables as objects that have the ability to perform certain tasks. Procedure oriented uses procedures (functions) to perform tasks on variables. For example, if you were writing a program for a DVD rental store: Object Oriented: thisdvd.assignTitle("Lethal Weapon"); thisdvd.rentTo("John Smith"); Procedure Oriented: String thisdvdnumber = 123; rentDvd(thisdvdnumber, "John Smith"); In the first case, you call functions that belong to object "thisdvd", like assignTitle(), rentTo(), etc. In the second case, you create a variable "thisdvdnumber", then call function "rentDvd()" and tell it which DVD to rent and to whom by passing those variables to it.


What is Objectives Oriented Evaluation Approach to program evaluation?

Objectives Oriented Evaluation Approach is the means by which the worth or merit of a program is assessed based on the extent to which the objectives or purposes of the program are being achieved.