What is the difference between volatile and nonvolatile storage in Java programming? Give examples of different storage situations.
What will be an ideal response?
Volatile storage is temporary; values that are volatile, such as those stored in variables, are lost when a computer loses power. Random access memory (RAM) is the temporary storage within a computer. When you write a Java program that stores a value in a variable, you are using RAM. Most computer professionals simply call volatile storage memory.
Nonvolatile storage is permanent storage; it is not lost when a computer loses power. When you write a Java program and save it to a disk, you are using permanent storage.
You might also like to view...
The __________extension method returns the number of elements in an IEnumerable object.
a) Count b) Size c) Length d) Total
To display the horizontal ruler use the _____ tab.
A. INSERT B. DESIGN C. VIEW D. REVIEW
Why is it important to test the installation medium? How can you do so?
What will be an ideal response?
A set of characters at the end of a file name that helps Windows Vista determine what program should open the file is called the ________
Fill in the blank(s) with correct word