answersLogoWhite

0

by creating class as an static class

User Avatar

Alice Graham

Lvl 10
3y ago

What else can I help you with?

Related Questions

What is the order of initialization of data in C plus plus?

The general order of initialization is:Base class objects (if present)Member data objectsConstructor function code


What do you mean by initialisation of objects in c plus plus?

Initialization of objects means to provide an initial value for the object. This is usually done by the constructor, or it can be done with an assignment statement.


How is dynamic initialisation achieved in c plus plus?

The C++ standard has this to say about dynamic initialisation:"Objects with static storage duration shall be zero-initialised before any other initialisation takes place. Zero-initialisation and initialisation with a constant expression are collectively called static initialisation; all other initialisation is dynamic initialisation."


What is the definition of dynamic friction?

Dynamic friction is a type of friction that is created when two objects are rubbing against one another. The amount of dynamic friction can change depending upon the speed of the two objects.


Dynamic variety is achieved mainly by playing with different instruments?

lado kha


What is dynamic verb?

A dynamic verb shows continued action on the part of the subject. Some example of dynamic verbs are achieved, consulted, approved, applied, managed, launched, defined, explored, and created.


The procedure entry point security initialization qqrv could not be located in the dynamic link library ntrtl60bpl?

For my case which I can not explain though, Changing run time package will fix this problem Terry G.


What the definition of dynamic in sport?

it means Of relating to energy or to objects in motion


What is the use of Constructor with Dynamic allocation?

Constructors are necessary to initialize classes. It allows to avoid to a lot of problems with unauthorized access of memory. Dynamic allocation makes possible allocation of memory during execution of program. If you do not use dynamic allocation, all required memory will be allocated during initialization phase (constructors are usually responsible for that). But you can't use more memory. Dynamic allocation was designed to overcome such problems.


What is Dynamic Initialization in java?

Java allows us to perform 'dynamic initialization' of variables too.What this means is that you can initialize variables using expressions (as will be seen in the example).In the program, we have a int variable 'root' which has an initial defined value of 10. We then create another variable 'square' of the same data-type, which will store the square of root.//This program displays dynamic initialization in javapublicclassExample{publicstaticvoidmain(String args[]){introot=10; //root has a constant value assignedintsquare=root*root; //notice that square has "root*root" assigned to it//if u change the value of root,//the value of square changes accordingly//after each compilation//display the values of square and rootSystem.out.println("Root= " +root + " Square= "+square);}}


When one says it was so nice meeting a Dynamic young man such as your self. What are they saying?

It is a compliment to be said such a thing. It is because a dynamic young man is a compliment if achieved from others.


Why is strategic management dynamic not static?

Strategy is always a recurring mechanism which can be achieved by dynamic approach but not a static approach...to an extent strategy can be static...for instance..when a company has achieved break-even or when there is monopoly or when the company has highly equipped technology....but, this situation will not be stagnant in any company.....whereas dynamic approach is needed for continuos r&d in a company...and in todays world, dynamic approach is definitely needed because of huge competition due to Globalization.