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 Structures40 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 I/O40 Questions
Exam 11: GUI Applications–Part 140 Questions
Exam 12: GUI Applications–Part 240 Questions
Exam 13: Applets and More40 Questions
Exam 14: Creating GUI Applications with JavaFX40 Questions
Exam 15: Recursion20 Questions
Exam 16: Databases40 Questions
Select questions type
For the following code, which statement is not true?
Public class Circle
{ private double radius;
Public double x;
Private double y;
}
(Multiple Choice)
4.8/5
(38)
What is the following statement an example of? import java.util.Scanner;
(Multiple Choice)
4.9/5
(31)
A constructor is a method that is automatically called when an object is created.
(True/False)
4.8/5
(37)
For the following code, which statement is not true?
Public class Sphere
{ private double radius;
Public double x;
Private double y;
Private double z;
}
(Multiple Choice)
4.8/5
(35)
What is the following statement an example of? import java.util.*;
(Multiple Choice)
4.9/5
(41)
It is common practice in object-oriented programming to make all of a class's
(Multiple Choice)
4.9/5
(36)
Which of the following is not involved in finding the classes when developing an object-oriented application?
(Multiple Choice)
4.9/5
(40)
Shadowing is the term used to describe where the field name is hidden by the name of a local or parameter variable.
(True/False)
4.9/5
(30)
A UML diagram uses the ________ symbol to indicate that a member is private.
(Multiple Choice)
4.9/5
(30)
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)
4.8/5
(37)
After the header, the body of the method appears inside a set of
(Multiple Choice)
4.9/5
(41)
Showing 21 - 40 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)