Exam 1: Creating Java Programs
Exam 1: Creating Java Programs68 Questions
Exam 2: Using Data74 Questions
Exam 3: Using Methods, Classes, and Objects68 Questions
Exam 4: More Object Concepts67 Questions
Exam 5: Making Decisions70 Questions
Exam 6: Looping72 Questions
Exam 7: Characters, Strings, and the Stringbuilder73 Questions
Exam 8: Arrays74 Questions
Exam 9: Advanced Array Concepts74 Questions
Exam 10: Introduction to Inheritance70 Questions
Exam 11: Advanced Inheritance Concepts70 Questions
Exam 12: Exception Handling65 Questions
Exam 13: File Input and Output74 Questions
Exam 14: Introduction to Swing Components74 Questions
Exam 15: Advanced Gui Topics69 Questions
Exam 16: Graphics74 Questions
Exam 17: Applets, Images, and Sound72 Questions
Select questions type
{ public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies the access specifier?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
A
Once an application is written and saved, the Java class must be compiled. Describe what two procedures must occur in order to view the output of the application.
Free
(Essay)
4.9/5
(35)
Correct Answer:
1. The class course code must be compiled into bytecode. 2. The Java interpreter must be used to translate the bytecode into executable statements.
A(n) ____ defines the circumstances under which a class can be accessed and the other classes that have the right to use a class.
Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
B
Locating and repairing all syntax errors is part of the process of ____ a program.
(Multiple Choice)
4.8/5
(37)
It is best to use the ____ available text editor when writing Java programs.
(Multiple Choice)
5.0/5
(34)
If an object's methods are well written, the user is unaware of the low-level details of how the methods are executed, and the user must simply understand the interface or interaction between the method and the object.
(True/False)
4.9/5
(35)
System.out.println("First Java application");
Given the above code, identify and describe the use of a literal string and the use of parentheses.
(Essay)
4.7/5
(42)
Using the void keyword in the main() method header indicates that a value will be returned by the main() method is called.
(True/False)
4.8/5
(41)
A Java identifier can contain only letters, digits, ampersands, or number signs.
(True/False)
4.9/5
(40)
It is a tradition among programmers that the first program you write in any language produces "____" as its output.
(Multiple Choice)
4.9/5
(35)
Provide examples of logic errors. How do programmers minimize logic errors in their code?
(Essay)
4.9/5
(34)
public class First {
Public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies that the method will work without instantiating an object of the class?
(Multiple Choice)
4.9/5
(37)
____ are also called modules, methods, functions, and subroutines. Java programmers most frequently use the term "method."
(Multiple Choice)
4.7/5
(36)
In Java, the reserved keyword ____ means that a method is accessible and usable even though no objects of the class exist.
(Multiple Choice)
4.9/5
(34)
____ is the process the compiler uses to divide your source code into meaningful portions; the message means that the compiler was in the process of analyzing the code when the end of the file was encountered prematurely.
(Multiple Choice)
4.8/5
(39)
Whenever a method requires multiple arguments, the arguments are always separated with ____.
(Multiple Choice)
4.8/5
(41)
Match each term with the correct statement below.
-The characteristics that define an object
(Multiple Choice)
4.8/5
(29)
Match each term with the correct statement below.
-A low-level programming language
(Multiple Choice)
4.9/5
(34)
Showing 1 - 20 of 68
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)