Questions and CORRECT Answers
Java was developed by a team led by _ - CORRECT ANSWER - James Gosling
Java was developed at _ - CORRECT ANSWER - Sun Microsystems
Java was originally called _ until _ - CORRECT ANSWER - Oak, 1995
Sun Microsystems was purchased by _ in _ - CORRECT ANSWER - Oracle, 2010
Java was designed in _ - CORRECT ANSWER - 1991
Applets - CORRECT ANSWER - Web browser programs
What programming language does Android use? - CORRECT ANSWER - Java
the software for developing and running Java programs - CORRECT ANSWER - JDK
the software for developing and running Java programs. - CORRECT ANSWER - JDK
Java version: to develop client-side applications. The applications can run standalone or as
applets running from a Web browser. - CORRECT ANSWER - Java SE
Java version: to develop server-side applications, such as Java servlets, JavaServer Pages (JSP),
and JavaServer Faces (JSF). - CORRECT ANSWER - Java EE
,Java version: to develop applications for mobile devices, such as cell phones. - CORRECT
ANSWER - Java ME (Micro)
technical definition of the Java programming language's syntax and semantics. - CORRECT
ANSWER - Java language specification
Instead of using the JDK, you can use a Java development tool (e.g., NetBeans, Eclipse, and
TextPad)—software that provides an - CORRECT ANSWER - IDE (for developing Java
programs quickly)
The program is executed from the _ - CORRECT ANSWER - main method
Every Java program must have - CORRECT ANSWER - at least one class
By convention, class names start with - CORRECT ANSWER - an uppercase letter
setup a class called welcome - CORRECT ANSWER - public class Welcome
The program is executed from the main method. A class may contain _. - CORRECT
ANSWER - more than one method
The main method is the entry point, where the program __. - CORRECT ANSWER -
begins execution.
A method is a construct that contains _ - CORRECT ANSWER - statements
Every statement in Java ends with a, known as the _ - CORRECT ANSWER - ;, statement
terminator
, _ _ _ have a specific meaning to the compiler and cannot be used for other purposes in the
program. - CORRECT ANSWER - reserved or keywords
"which are the reserved words in this program:
which are the reserved words in this program:
1 public class Welcome {
2 public static void main(String[] args) {
3 // Display message Welcome to Java! on the console
4 System.out.println("Welcome to Java!");
5}
6 } - CORRECT ANSWER - public, class, static, void
what is this:
/* This application program displays Welcome to Java! */ - CORRECT ANSWER - block /
paragraph comment.
A pair of curly braces in a program forms ___. Each begins with an opening brace ({) and ends
with a closing brace (}). - CORRECT ANSWER - a block (that groups the program's
components)
Every class has a _ that groups the data and methods of the class. - CORRECT ANSWER -
class block
Every method has a _ that groups the statements in the method. - CORRECT ANSWER -
block (method block)
Java source programs are case _. It would be wrong, for example, to replace main in the program
with Main. - CORRECT ANSWER - sensitive
Used with methods. - CORRECT ANSWER - ()