Exam 1: Creating Java Programs
Exam 1: Creating Java Programs61 Questions
Exam 2: Using Data67 Questions
Exam 3: Using Methods Classes and Objects66 Questions
Exam 4: More Object Concepts66 Questions
Exam 5: Making Decisions66 Questions
Exam 6: Looping66 Questions
Exam 7: Characters Strings and the Stringbuilder68 Questions
Exam 8: Arrays66 Questions
Exam 9: Advanced Array Concepts66 Questions
Exam 10: Introduction to Inheritance66 Questions
Exam 11: Advanced Inheritance Concepts66 Questions
Exam 12: Exception Handling66 Questions
Exam 13: File Input and Output66 Questions
Exam 14: Introduction to Swing Components66 Questions
Exam 15: Advanced Gui Topics66 Questions
Exam 16: Graphics66 Questions
Select questions type
Briefly describe the elements of the main() method:
public static void main(String[] args)
{
Java code...
}
(Essay)
4.8/5
(78)
Whenever a method requires multiple arguments, the arguments are always separated with ____.
(Multiple Choice)
4.9/5
(67)
Although not a requirement, it is Java standard that class identifiers begin with an uppercase letter and use other uppercase letters to improve readability.
(True/False)
5.0/5
(72)
____ are pieces of information that are sent into, or passed to, a method, usually because the method requires the information to perform its task or carry out its purpose.
(Multiple Choice)
4.9/5
(68)
____________________ comments are a special case of block comments that are used to generate documentation.
(Short Answer)
4.8/5
(91)
Locating and repairing all syntax errors is part of the process of ____ a program.
(Multiple Choice)
4.9/5
(77)
What happens after a programmer successfully compiles a Java program named "First.java"?
(Essay)
4.8/5
(71)
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
(80)
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.9/5
(83)
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.8/5
(94)
In a ____ environment, you can change directories using the cd command. For example, to change to a directory named MyClasses , you type cd MyClasses and press Enter.
(Multiple Choice)
4.9/5
(95)
When you define a Java class using an identifier, what are the requirements you need to know?
(Essay)
5.0/5
(69)
A ____ is an error not detected until the program asks the computer to do something wrong, or even illegal, while executing.
(Multiple Choice)
4.9/5
(70)
When you issue the command to compile a class containing errors, the Java compiler does not produce any error messages. You will first need to run the class in order to see error messages.
(True/False)
4.8/5
(84)
Identify why a class named first would be different from a class named FIRST . Explain why it is important to be aware of uppercase and lowercase values when writing Java programs?
(Essay)
4.9/5
(87)
Java contains a class named ____ that allows you to produce dialog boxes.
(Multiple Choice)
4.8/5
(70)
Describe the components (objects and classes) that are used in the statement System.out.println() .
(Essay)
4.7/5
(76)
Explain the purpose of arguments and why it is necessary to pass arguments to a method.
(Essay)
4.8/5
(78)
____ refers to the hiding of data and methods within an object.
(Multiple Choice)
4.9/5
(92)
Showing 21 - 40 of 61
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)