answersLogoWhite

0

Assignment object oriented data and process simple task?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

write a class implementation for a class_my class that contains the data member ID of type integer and data member MSG of type string (to hold a simple description of any created object (local,global,static,automatic))then follow what come serially

1-create a global void function named create_fun to create 2 objects:obj1 local automatic to create_fun,and obj2 static to create_fun.

2-constructor with 2 arguments to initialize object data member ID and MSG with any given value.

3-a destructor to print the ID and MSG of any terminated object.

4-a global object named obj3.

5-a local object to the main function named obj4.

6-a static local object to the main function named obj5.

7-call function create_fun from the main function.

8-create a local object named obj6 to the main function.

9-call function create_fun from the main function.

10-create a local object named obj7 to the main function.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Assignment object oriented data and process simple task?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Chen-Chen methodology used for object oriented design?

it is chen and chen so its simple.......


What is the basic of java?

java buzzwords like simple , Secure , Portable, Object-Oriented, Robust, Dynamic, etc............


Why c is not support of object oriented?

1. C was meant to be simple. 2. C was developped before the OOP


Why is C not an object oriented language?

The simple answer is it was never intended nor designed to be an object-oriented language. It was primarily intended to replace assembler language, hence its procedural nature. Unlike assembler, which is machine-specific, C is a generic, cross-platform language.


Difference between object oriented computing and object based computing?

In simple words i can say object oriented=object based + inheritance i mean object based languages no need follow the oop concepts (inheritance) in this you can create your own calsses. but you can't access based class please let me know if anything wrong in this Ashok Sharing ideas will improve knowledge........


What is the difference between object oriented programming from text based programming?

An object-oriented program is made up of objects. An object has an internal state.Every object is an instance of (belongs to) a class.In simple terms a class is just a template for the object. It contains details of all the behaviour of an object along with what state information the object has. Text Programming:-Users want a Language that is more efficent, re-usable, easily maintainable, easy to read, and easy to write code in.


What is assignment called in Hindi?

Kaam, karya, nidesh are some simple Hindi words for assignment.


What is java is so popular?

java is a machineindependent programming language. It is simple. Only java supports applets and servelets . It is completely object oriented and highly secure . It contains threads that can programing easily.


What is buzz word in java define?

the Java 'white paper" buzzwords: simple object oriented network savvy robust secure architecture neutral portable interpreted hight performance multithreaded dynamic


What has the author Olaf Zimmermann written?

Olaf Zimmermann has written: 'Perspectives on web services' -- subject(s): Internet programming, Object-oriented programming (Computer science), Simple Object Access Protocol (Computer network protocol), Web services, Web site development


What is simple creation?

For me as I understand the question, simple creation is creating a new object out of an object.


How can one be good at math but bad at science essay writing and computer programming?

It's simple really, there are people who are mathematically oriented but not science oriented