answersLogoWhite

0

How does java command while true work?

Updated: 8/16/2019
User Avatar

Wiki User

15y ago

Best Answer

The contents of a while loop will always execute if the statement between the while parentheses resolves to a boolean true. Hence, if you place "true" as the while statement, the loop will execute forever (until the loop is forcefully broken or the computer or process shuts down).

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does java command while true work?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Do you need java for my browser to work?

In general, not. The browser will work without Java; some individual sites that require Java will NOT work.


Under a Unified Command there are multiple Incident Commanders who work together to establish the incident objectives true or false?

True


Is the JRE platform dependent?

True. Java source code is called "platform independent" because it runs on top of the Java Runtime Environment (JRE). In order for this to work, a special JRE must be created for the platform you want to run a Java program on.


True or false in unified command there are multiple incident action plans from which to draw incident objectives?

It is true that under a unified command there are multiple incident commanders who work together to establish the incident objectives.


Is it true or false that after completing work with windows 7 windows 7 can be shut down using the shut down command on the start?

true


Under a Unified Command there are multiple Incident Commanders who work together to establish the incident objectives.?

True


Is it true that under command there are multiple incident commanders who work together to establish the incident objectives?

yes


Under a unified command there are multiple incident commanders who work together to establish the incident objectives?

True


Can android apps work on java phones?

Sadly, no. Android apps cannot work on java phones.


How do you compiling a source code in java?

The javac command is used to invoke Java's compiler and compile a Java source file. A typical invocation of the javac command would look like below: javac [options] [source files] Both the [options] and the [source files] are optional parts of the command, and both allow multiple entries. The following are both legal javac commands: javac -help javac ClassName.java OneMoreClassName.java The first invocation doesn't compile any files, but prints a summary of valid options. The second invocation passes the compiler two .java files to compile (ClassName.java and OneMoreClassName.java). Whenever you specify multiple options and/or files they should be separated by spaces. This command would create the .class files that would be require to run the java progam.


Does Minecraft work on Windows 7 64bit?

Yes. If you go to video settings, and then change the render distance to far, 64bit would work better than most other windows programs While the above is mostly true, to get the best performance out of your copy of MC, you'd need a 64-bit version of Java installed on your computer. A guide on how to install 64-bit Java has been included in the Related Links section. While the above is mostly true 32 bit computers can work just as well as 64 bit laying minecraft. it does not change anything having either system it just depends how good it is.


When applets work on java ring?

client server program in java ring