Exam 1: Creating Your First Java Classes
Exam 1: Creating Your First Java Classes76 Questions
Exam 2: Using Data81 Questions
Exam 3: Using Methods, Classes and Objects79 Questions
Exam 4: More Object Concepts84 Questions
Exam 5: Making Decisions80 Questions
Exam 6: Looping77 Questions
Exam 7: Characters, Strings and the Stringbuilder82 Questions
Exam 8: Arrays77 Questions
Exam 9: Advanced Array Concepts80 Questions
Exam 10: Introduction to Inheritance78 Questions
Exam 11: Advanced Inheritance Concepts78 Questions
Exam 12: Exception Handling79 Questions
Exam 13: File Input and Output78 Questions
Exam 14: Introduction to Swing Components79 Questions
Exam 15: Using Javafx and Scene Builder65 Questions
Select questions type
It is best to use the ____ available text editor when writing Java programs.
(Multiple Choice)
4.9/5
(39)
When you define a Java class using an identifier, what are the requirements you need to know?
(Essay)
4.7/5
(49)
Match each term with the correct statement below.
Premises:
Creating classes that share from existing classes
Responses:
inheritance
Java virtual machine (JVM)
debugging
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(32)
____ 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.8/5
(32)
Why is creating a GUI environment for users a natural use for object orientation?
(Essay)
4.8/5
(47)
A program written in ____ is the most basic circuitry-level language.
(Multiple Choice)
4.9/5
(39)
A(n) ____ is a GUI object resembling a window in which you can place messages you want to display.
(Multiple Choice)
4.8/5
(38)
Explain the purpose of arguments and why it is necessary to pass arguments to a method.
(Essay)
4.8/5
(35)
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
(36)
A compiler ignores whitespace (that is, any combination of nonprinting characters) between words and lines.
(True/False)
4.7/5
(36)
public class First {
public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies the name of the class?
(Multiple Choice)
5.0/5
(45)
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)
4.7/5
(39)
A(n) ____ defines the circumstances under which a class can be accessed and the other classes that have the right to use a class.
(Multiple Choice)
4.8/5
(38)
Match each term with the correct statement below.
Premises:
Translates an entire program before carrying out the statement
Responses:
whitespace
Machine language
attributes
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(34)
A class named first is different from a class named FIRST because ____.
(Multiple Choice)
4.9/5
(42)
Match each term with the correct statement below.
Premises:
A GUI object resembling a window in which you can place messages you want to display
Responses:
method
attributes
debugging
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(45)
Match each term with the correct statement below.
Premises:
Documentation comments
Responses:
Machine language
whitespace
method
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(41)
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
(40)
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.
(Essay)
4.7/5
(38)
If you receive an error that states, "Exception in thread 'main' java.lang.NoClassDefFoundError," when you try to execute the application, you probably do not have your ____ set correctly.
(Multiple Choice)
4.9/5
(31)
Showing 21 - 40 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)