Exam 3: A First Look at Classes and Objects
Exam 1: Introduction to Computers and Java40 Questions
Exam 2: Java Fundamentals40 Questions
Exam 3: A First Look at Classes and Objects40 Questions
Exam 4: Decision Structures42 Questions
Exam 5: Loops and Files40 Questions
Exam 6: A Second Look at Classes and Objects40 Questions
Exam 7: Arrays and the Arraylist Class40 Questions
Exam 8: Text Processing and Wrapper Classes40 Questions
Exam 9: Inheritance40 Questions
Exam 10: Exceptions and Advanced File Io40 Questions
Exam 11: Java-Fx: Gui Programming and Basic Controls40 Questions
Exam 12: Java-Fx: Advanced Controls40 Questions
Exam 13: Java-Fx: Graphics, Effects, and Media40 Questions
Exam 14: Recursion24 Questions
Exam 15: Databases40 Questions
Select questions type
A method that stores a value in a class's field or in some other way changes the value of a field is known as a mutator method.
Free
(True/False)
5.0/5
(37)
Correct Answer:
True
The term "default constructor" is applied to the first constructor written by the author of the class.
Free
(True/False)
4.9/5
(32)
Correct Answer:
False
What does the following UML diagram entry mean? + setHeight(h : double) : void
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
A
Which symbol indicates that a member is public in a UML diagram?
(Multiple Choice)
5.0/5
(41)
It is common practice in object-oriented programming to make all of a class's
(Multiple Choice)
4.8/5
(32)
Which symbol indicates that a member is private a UML diagram?
(Multiple Choice)
4.8/5
(31)
Which of the following is not involved in identifying the classes to be used when developing an object-oriented application?
(Multiple Choice)
4.9/5
(31)
When an object is created, the attributes associated with the object are called
(Multiple Choice)
4.8/5
(36)
You should not define a class that is dependent on the values of other class fields
(Multiple Choice)
4.8/5
(42)
"Shadowing" is the term used to describe how the field name is hidden by the name of a local or parameter variable.
(True/False)
4.8/5
(44)
A constructor is a method that is automatically called when an object is created.
(True/False)
4.9/5
(46)
Data hiding (which means that critical data stored inside the object is protected from code outside the object) is accomplished in Java by
(Multiple Choice)
5.0/5
(35)
Showing 1 - 20 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)