answersLogoWhite

0

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

16y ago

What else can I help you with?

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.


How are data member and member function organized in object oriented program?

In object-oriented programming, data members (attributes) and member functions (methods) are organized within classes. Data members represent the state or properties of an object, while member functions define the behaviors or operations that can be performed on that data. This encapsulation allows for better data management and code organization, enabling objects to maintain their own state while providing functionality through their methods. Classes serve as blueprints for creating objects, ensuring that both data and behaviors are bundled together.


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.


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 novell's object-oriented database organized as a hierarchical tree?

edirectory


What defines the behavior of an object in object-oriented programming and how is it implemented within the programming paradigm?

In object-oriented programming, the behavior of an object is defined by its methods, which are functions that describe what the object can do. This behavior is implemented by creating classes that define the structure and behavior of objects, and then creating instances of those classes to use in the program. The methods within the class determine how the object interacts with other objects and data in the program.


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.