Exam 7: Object-Oriented Programming, Part 2: User-Defined 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
Javadoc is an executable program used to produce HTML-based documentation similar to the documentation available on Oracle's Java website.
Free
(True/False)
4.8/5
(34)
Correct Answer:
True
Javadoc recognizes two types of tags: block tags and comment tags.
(True/False)
4.8/5
(29)
The access modifier of accessor and mutator methods is usually __________.
(Short Answer)
4.9/5
(39)
Which of the following is a similarity between ordinal( ) and compareTo( Enum eObj )?
(Multiple Choice)
4.9/5
(35)
The enum objects are instantiated as constant objects, meaning that their values can be changed.
(True/False)
4.8/5
(38)
Static data belong to the class, rather than to a particular object, or instance, of the class.
(True/False)
4.9/5
(36)
Analyze why a programmer would want to make known the public method names and their APIs, but not the code of the class.
(Essay)
4.7/5
(44)
static variables that are constants are usually declared to be public because they typically are provided to allow the client to set preferences for the operations of a class. If you define a static variable for your class that is not a constant, it is best to define it as private and provide accessor and mutator methods, as appropriate, for client access to the static variable.
(True/False)
4.8/5
(39)
In terms of accessing instance variables, are static or non-static variables more restricted?
(Short Answer)
4.9/5
(41)
The name of a method, along with its parameter list, is called the __________ of that method.
(Short Answer)
4.8/5
(37)
When we provide several constructors, we are __________ that method.
(Short Answer)
4.8/5
(35)
Showing 1 - 20 of 78
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)