answersLogoWhite

0


Best Answer

Without variables, you won't be able to do much programming. Variables is where you store data; such data may change over time. And computer programming is all about manipulating data.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How are constants and variables important in devoloping java programs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

When you write programs you work with data in three different forms?

Variables, Literals, and Named constants.


What is a Program or a group of programs that is running together with the system resources assigned to it?

A process is a running program or group of programs. It also includes its assigned system resources like the memory addresses, environmental variables, and other resources.


What is a pointer variable in C?

Pointer variables point to data variables. They are mostly used to point to dynamically allocated data variables, but can actually point to anything (e.g. statically allocated variables, array elements, anywhere inside a variable, program machine code, I/O device descriptors, nonexistent memory). Misuse of pointer variables, either unintentionally or intentionally, is a major cause of nearly impossible to debug software problems in programs written in C (and C++).


Why static variables are initialized to zero?

When a variable is declared, your computer assigns a section of memory to that variable. If the variable isn't initialized, there's no way of knowing what data is already stored in that section of memory, which can cause errors in your programs. In managed languages, such as C#, this is done automatically at declaration. Although it's still good practice to initialize variables yourself.


What are those languages under in object oriented programming?

Most modern programming languages have some support for object-oriented programming. In some (such as Java), it is obligatory - you have to write your code in classes. In others - such as JavaScript or PHP - it is optional, meaning that you can write programs the old-fashioned way (procedural programming).

Related questions

What is the use of constants and variables in programs?

to store values


When you write programs you work with data in three different forms?

Variables, Literals, and Named constants.


Why is stdioh file used in c program?

The stdio.h file is used in c programs in order to import declarations of important functions and constants that are useful in doing input/output, using the library facilities of the compiler.


Declaring variables in C programs?

Mandatory, before the first usage.


What problems may occur from deleting Path variables?

Various programs will not work causing you to have to reinstall them


How do I figure out the programming decision and variables for anything?

There is no programming solution for "anything". Programs are specifically designed to solve a particular problem.


What is the default value of int in c?

I'm not sure. I have written C programs in which the default value was what ever happened to be in the variable's memory location when the space was allocated. So it could be 0. Or it could be anything. That is why it is always important to initialize variables when using C. I don't know if this is true with modern C compilers. No default value for automatic variables, 0 for others.


What is the use of api in java?

The API is a reference for all predefined classes provided by the java language. This will allow the programmer to utilize the classes into their programs. The API provides packages, classes, methods, constants, etc.


What is optimization and how can it learned?

Optimization is the process of seeking the values of the variables that lead to an optimal value of the function that is to be optimized. There are also various programs that help.


What is a Program or a group of programs that is running together with the system resources assigned to it?

A process is a running program or group of programs. It also includes its assigned system resources like the memory addresses, environmental variables, and other resources.


What is the definition of a computer program?

An organized list of instructions that, when executed, causes the computer to behave in a predetermined manner. Without programs, computers are useless.A program is like a recipe. It contains a list of ingredients (called variables) and a list of directions (called statements) that tell the computer what to do with the variables. The variables can represent numeric data, text, or graphical images.


Why is a tv guide important?

To see what programs is scheduled and the time it is