answersLogoWhite

0


Best Answer

The only things that may be different for all objects of a class are their member variables. They represent the object's data. The only things that remain the same are the static members -- they are akin to global variables, but are local to all objects of the class type.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What may be different for all objects in a class and what remains the same in C plus plus programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are apex classes?

Apex is a strongly typed, object-oriented programming language. A class is a template or blueprint from which objects are created. An Apex Class is a library of attributes and methods and serves as a blueprint to create Apex objects.


What are the different storage class in C programming?

Automatic, register, external, static


What is an array of class objects.how the array of class of class objects is defined in c plus plus?

An array of class objects is just a set of class objects arranged linearly in memory. It is no different than an array of elementary objects. You define it the same way. class myClass { ... }; myClass arrayOfMyClass[100]; // creates 100 objects and fires the constructor 100 times


What are Objects and Classes in C programming?

C is not an object-oriented programming language. As such there is no such thing as an object or a class in C programming. C++ is the object-oriented version of C (originally known as C with Classes). The two are separate languages that share a common syntax. A class is a datatype, much like a struct in C, except that you can define functions as members as well as data. An object is an instance of a class.


Sentence with magnetism?

The class learned about the forces of magnetism using different objects.


What are objects and how are they created from a class in Java?

Literally, an object in programming is a collection of data and functions (remember that functions just bits of data, too). An object's class defines what those data and functions are and how to make new objects of that class. So a class is like a cast to make a plastic toy and an object is like a single plastic toy itself.


What is object oriented matlab?

first of all my question is what is the mean of matlab?anywayObject-oriented programming (OOP) is a programming language model organized around "objects" rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.Object-OrientedProgramming (OOP) uses a different set of programming languages than old procedural programming languages (C, Pascal, etc.).using "objects" usually instances of a class consisting of data fields and methods


How do you say class objects in french?

Class objects or Glass Objects? Class Objects is objets de classe Glass objects is objets en verre


What is the classification of polymorphic?

Polymorphic can refer to different things depending on the context. In computer science, polymorphism is a programming concept that allows objects to be treated as instances of their parent class. In biology, polymorphism refers to the existence of multiple forms of a gene within a population.


What is the definition of class bound?

Class bound refers to the relationship between an object and a specific class in object-oriented programming. It determines how tightly an object is associated with its class, influencing how the object can interact with other objects and classes in the program. The class bound establishes the behavior and properties that an object inherits from its class.


What is object oriented in c plus plus?

Object-oriented programming is a feature in C++ that allows you to better model real-world objects. An object is an instance of a class, which is a data structure in C++ that allows you to group different, but related types of data together.


What is the simply meaning of object oriented?

The short explanation is that it is computer programming that involves classes and objects. A class is a template to create objects; it can also be considered as a data type. Classes allow you to create new data types; for example, you could create a class to handle dates, points in 3D space, etc. Functions, instead of being independent, are associated with a class (and therefore with objects based on the class); such functions are known as "methods". The objects, of course, also need to store data; variables at the class/object level are known as "fields".