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
public class First {
public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies the method's return type?
(Multiple Choice)
4.8/5
(34)
{ public static void main(String[] args)
{
System.out.println("First Java application");
}
}
Given the above code, which item identifies the access specifier?
(Multiple Choice)
4.9/5
(39)
Programmers use ____ to organize program code and make it easier to read.
(Multiple Choice)
4.8/5
(40)
What happens after a programmer successfully compiles a Java program named "First.java"?
(Essay)
4.9/5
(38)
You use an import statement when you want to access a built-in Java class that is contained in a group of classes called a(n) ____.
(Multiple Choice)
4.8/5
(34)
Match each term with the correct statement below.
Premises:
Series of characters that will appear in output exactly as entered
Responses:
polymorphism
javadoc
Java virtual machine (JVM)
Correct Answer:
Premises:
Responses:
(Matching)
5.0/5
(38)
____ are also called modules, methods, functions, and subroutines. Java programmers most frequently use the term "method."
(Multiple Choice)
4.8/5
(35)
public class FindMyErrors
{
public static void main(String[] args)
{
System.out.println("My application with errors)
}
Given the above code, identify three separate syntax errors.
(Essay)
4.9/5
(44)
Regarding code layout, write the following Java code using a common alternate placement of the first curly brace:
public static void main(String[] args)
{
System.out.println("First Java application");
}
(Essay)
5.0/5
(32)
Describe the components (objects and classes) that are used in the statement System.out.println() .
(Essay)
4.8/5
(37)
Match each term with the correct statement below.
Premises:
The rules for the programming language
Responses:
encapsulation
whitespace
high-level programming languages
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(40)
____ refers to the hiding of data and methods within an object.
(Multiple Choice)
4.9/5
(38)
Match each term with the correct statement below.
Premises:
Placing data and methods within an object
Responses:
attributes
literal string
whitespace
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(35)
Match each term with the correct statement below.
Premises:
Hypothetical computer used to run a Java program
Responses:
high-level programming languages
method
syntax
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(27)
What are some of the reasons the javac command might not be recognized?
(Essay)
4.8/5
(43)
Showing 61 - 76 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)