Answer:
C. Infinite loop
Explanation:
num will be printed continuously since it will always be bigger than
(
is greater than
, satisfying the condition num > 0) making it an infinite loop since it will go on forever.
Hope this helps :)
A compiler is often used when you want to test your code; that would often be your second step.
Go here this should help bunches!
http://www.microsoft.com/security/online-privacy/safely-dispose-computers-and-devices.aspx
Hope this website helps!
Answer:
The name of a .java file should <u>always match the name of the class inside.</u>
Explanation:
In Java programming the program written in code editor is first saved with .java extension. The name of this .java file should be same as that of the class declared inside the file.
This .java file is then compiled and converted to .class file which contains the java bytecode. This bytecode can then be executed by java virtual machine(JVM).
However it is not always necessary that name of .java files should be same as that of class inside it. The name should be same only when the class inside is declared as public.
In case it is not declared as public one can name .java file different than the actual class name.