Exam 3: Introduction to Classes and Objects
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Introduction to Java Applications34 Questions
Exam 3: Introduction to Classes and Objects34 Questions
Exam 4: Control Statements: Part 142 Questions
Exam 5: Control Statements: Part 227 Questions
Exam 6: Methods: a Deeper Look39 Questions
Exam 7: Arrays and Arraylists44 Questions
Exam 8: Classes and Objects: a Deeper Look27 Questions
Exam 9: Object Oriented Programming: Inheritance22 Questions
Exam 10: Object-Oriented Programming: Polymorphism28 Questions
Exam 11: Exception Handling27 Questions
Exam 12: Gui Components: Part 170 Questions
Exam 13: Graphics and Java 2D19 Questions
Exam 14: Strings27 Questions
Exam 15: Files,streams and Object Serialization29 Questions
Exam 16: Generic Collections41 Questions
Exam 17: Lambdas60 Questions
Exam 18: Recursion13 Questions
Exam 19: Searching, Sorting and Big O22 Questions
Exam 20: Generic Classes and Methods15 Questions
Exam 21: Custom Generic Data Structures17 Questions
Exam 23: Concurrency55 Questions
Exam 24: Accessing Databases With Jdbc35 Questions
Exam 25: JavaFX26 Questions
Select questions type
You must call most methods other than ________ explicitly to tell them to perform their tasks.
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
B
Which of the following statements is false?
Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
A
Types in Java are divided into two categories.The primitive types are boolean,byte,char,short,int,long,float and double.All other types are ________ types.
Free
(Multiple Choice)
4.7/5
(38)
Correct Answer:
B
The format specifier ________ is used to output values of type float or double.
(Multiple Choice)
4.9/5
(34)
If a class does not define constructors,the compiler provides a default constructor with no parameters,and the class's instance variables are initialized to ________.
(Multiple Choice)
4.8/5
(36)
Each class you create becomes a new ________ that can be used to declare variables and create objects.
(Multiple Choice)
4.9/5
(28)
The format specifier %.2f specifies that two digits of precision should be output ________ in the floating-point number.
(Multiple Choice)
4.9/5
(40)
A class that creates an object of another class,then calls the object's methods,is called a(n)________ class.
(Multiple Choice)
4.7/5
(37)
Reference-type variables (called references)store ________ in memory.
(Multiple Choice)
4.8/5
(39)
An import declaration is not required if you always refer to a class with its ________ name,which includes its package name and class name.
(Multiple Choice)
4.9/5
(31)
A key part of enabling the JVM to locate and call method main to begin the app's execution is the ________ keyword,which indicates that main can be called without first creating an object of the class in which the method is declared.
(Multiple Choice)
4.9/5
(37)
Showing 1 - 20 of 34
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)