Exam 3: Object-Oriented Programming, Part 1: Using Classes
Exam 1: Introduction to Programming and the Java Language47 Questions
Exam 2: Programming Building Blocks- Java Basics57 Questions
Exam 3: Object-Oriented Programming, Part 1: Using Classes62 Questions
Exam 4: Introduction to Graphical Applications57 Questions
Exam 5: Flow of Control, Part 1: Selection68 Questions
Exam 6: Flow of Control, Part 2: Looping67 Questions
Exam 7: Object-Oriented Programming, Part 2: User-Defined Classes78 Questions
Exam 8: Single-Dimensional Arrays63 Questions
Exam 9: Multidimensional Arrays and the Arraylist Class62 Questions
Exam 10: Object-Oriented Programming, Part 3: Inheritance, Polymorphism, and Interfaces61 Questions
Exam 11: Exceptions, and Input Output Operations77 Questions
Exam 12: Graphical User Interfaces Using Java FX89 Questions
Exam 13: Recursion59 Questions
Exam 14: An Introduction to Data Structures69 Questions
Exam 15: Running Time Analysis56 Questions
Exam 16: RGB Colors, Decimal Conversion, Java Naming, and Random Number Generation110 Questions
Select questions type
When writing code, you can include two forward slashes for a comment and then later replace them with back slashes to uncomment.
(True/False)
4.7/5
(34)
What is the output of this code sequence?
String word = "Java";
System.out.println( word.length( ) );
(Multiple Choice)
4.8/5
(37)
Wrapper classes define an instance variable of a primitive data type and provide useful methods for converting the primitive data types into objects.
(True/False)
4.9/5
(30)
Which keyword allows you to use a Java class inside a program?
(Multiple Choice)
4.8/5
(42)
Write a Java statement to import the DecimalFormat class from the appropriate package.
(Short Answer)
4.7/5
(39)
Java would generate a compiler error and a run-time error if you attempt to call a method using an object reference whose value is null.
(True/False)
4.8/5
(32)
By convention, method names, instance variables, and object names start with a lowercase letter.
(True/False)
4.9/5
(40)
The automatic conversion from a primitive numeric type to its wrapper class is called:
(Multiple Choice)
4.9/5
(49)
The automatic conversion from a numeric wrapper class to the corresponding primitive numeric type is called:
(Multiple Choice)
4.9/5
(42)
What is the output of this code sequence?
String word = "Java";
System.out.println( word.charAt( 1 ) );
(Multiple Choice)
4.8/5
(42)
Which methods of the String class would you use to retrieve the user name from an email address whose format is username@provider?
(Essay)
4.9/5
(38)
Showing 21 - 40 of 62
Filters
- Essay(3)
- Multiple Choice(18)
- Short Answer(15)
- True False(26)
- Matching(0)