answersLogoWhite

0


Best Answer

No. The static keyword only specifies the way a method is declared, used and handled by the JVM and the other classes and does not modify the size it occupies in the memory.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does adding the static keyword to the declaration of these variables in your program change their size?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why wont your c plus plus program stay open?

If you are talking about the program executing, but the output screen being displayed for a flash and then disappearing, I suggest adding getch() or getchar() function at the end of your main function. This will make sure that the output screen waits for you to press a character before the program terminates.


Highlight the steps involve in writing a functional program?

Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.Consult or think about the requirements; plan the general design; write your program; test it; correct and test (probably several times) until it works.In a larger project, you will probably do the above for each individual component at a time, i.e., you will be adding components gradually.


What is logic error in c plus plus?

A logic error is an error that will not cause the program to crash, but will nevertheless cause the program to behave in a way that is unexpected or otherwise incorrect. By way of example, a program that converts Fahrenheit to Celsius will behave incorrectly if the program is written to multiply and divide first instead of adding or subtracting first (F-32*5/9=C instead of (F-32)*5/9=C). In this case, simply forgetting the enclosing parentheses caused the logic error.


Difference between high level and low level languages?

Low level languages bring you close to the machine, e.g. Assembly, or C. High level languages obfuscate more, so it makes life as a programmer easier. Consider: Python, garbage collected. C, not garbage collected. Java, garbage collected. And so forth. C does has its uses, still: how could one make a hardware driver with a garbage collected language?


Would you Write c plus plus program using array for Fibonacci number?

You can write a C++ fib pro using arrays but the problem is the prog becomes very complicated since u need to pass the next adding value in an array.....

Related questions

What tag is used in adding variables in HTML?

HTML has no variables of its own. Javascript does.


When adding variables with exponents do you add or subtract the exponents?

When adding variables with exponents, you do neither. You only add the exponents if #1 The variables are the same character (such as they are both "a") #2 You are multiplying the variables (NOT ADDING, SUBTRACTING, OR DIVIDING) Using a simple concrete case may make this clearer: 10+2 times 10+3 equals 10+5 ( 100 times 1000 equals 100,000).


Average cost for adding 10x10 room to a house?

too many variables to price...


What does Keyword mean on deviantart?

Keyword is an area for you to enter keywords for an image you are uploading to deviantART. Adding keywords for your images enables people to find your image via the search bar in deviantART. The more words you have that relates to the image, the more chances you image will be seen.


How do you spell declration?

The likely word is "declaration" (statement, announcement), e.g. Declaration of Independence.However, adding different letters spells the word deceleration, meaning slowing down.


Classify the following polynomial -32xyz?

Since no terms are added, it is a monomial (one term). Adding the powers of the variables (three variables, each to the first power), you see that it is of degree 3.


How to approach keyword research?

Optimizing your content and website randomly for keywords you think are valid is a futile practice. Before you even consider adding keywords to your content, you must first know the right keywords for that piece of content. And to do that, you need keyword research.Read this blog for a Complete Guide: prismbizsol(dot)com/blog


When was the Declaration of Independence sent out?

It was formally signed on August 2, 1776, with some members adding their names after that date.You may want to look at this site. Theres alot of information on the Declaration of Independence.


What effect will adding the ice to the solution have on the amount of salt that can be dissolved into it?

The effect is unpredictable because the ice changes two variables at the same time.


What are the national culture variables define with examples?

National Cultural Variables An entire country may have a series of cultural norms; individual ethnic groups within that country may accept most of those norms as well as adding their own


Write a program adding 2 plus 2 in c program?

#include <stdio.h> int main (void) { puts ("4"); return 0; }


-3r - 8 equals -5r plus 12?

What you want to do is to try and get all the variables on one side by adding/subtracting. Then get the numbers on the other side and solve.