Java Programming I Flashcards
To achieve platform independence, the Java virtual machine
interprets the bytecodes
In NetBeans, what tool do you use to enter and edit source code?
code editor
As you develop a Java program, you can use NetBeans to
all of the above
Which of the following isn’t a benefit of a typical IDE for Java?
Your code compiles and runs faster.
Bytecodes are
input to the Java interpreter
To create a Java source file, you use a
text editor
What window does NetBeans use to get input from a console application?
the Output window
Since NetBeans does this automatically, you typically don’t need to
compile/build a project
In NetBeans, the class that contains the main method for an application is known as the
main class
One of the many things that differentiate Java from C, C++, and C# is . . .
The use of garbage collection so that the programmer does not have to manage memory.
The NetBeans IDE stores all of the files for an application in a
project
When you have two or more projects open in NetBeans, you can make it easier to run one project by setting it as the
main project
What kind of Java program runs within a Java-enabled browser?
an applet
What NetBeans feature can help you enter a method by displaying a list of methods that are available from an object or class?
the code completion feature
A syntax error occurs when
there’s a syntax error in a Java statement