

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Which JDK command is correct to run a Java application in ByteCode.class?
Answer: java ByteCode.
Java virtual machine.
Answer: ________ is a software that interprets Java bytecode.
Windows XP.
Answer: ________ is an operating system.
Java.
Answer: ________is interpreted.
Java API.
Answer: ________ contains predefined classes and interfaces for developing Java programs.
Which of the following statements is correct?
Answer: Every statement in a program must end with a semicolon..
Java IDE.
Answer: ________provides an integrated development environment (IDE) for rapidly developing Java programs. Editing, compiling, building, debugging, and online help are integrated in one graphical user interface.
Sun Microsystems.
Answer: Java was developed by ________.
Java bytecode.
Answer: Java compiler translates Java source code into ________.
Test.java.
Answer: Suppose you define a Java class as follows: public class Test { } In order to compile this program, the source code should be stored in a file named
Java.
Answer: ________is Architecture-Neutral.
applets.
Answer: Java ________ can run from a Web browser.
Answer: ________ is the brain of a computer.
Java 123.
Answer: The expression "Java " + 1 + 2 + 3 evaluates to ________.
a logic error.
Answer: If a program compiles fine, but it produces incorrect result, then the program suffers ________.
Which of the following code displays the area of a circle if the radius is positive?
Answer: if (radius > 0) System.out.println(radius * radius * 3.14159);.
What is 1 + 1 + 1 + 1 + 1 == 5?
Answer: true.