Home > Java Programming > Quizzes > Java Review Complete 1
Java Review Complete 1
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 66% Most missed: “Every class declaration is enclosed in a code ______”

Also read: Java Review - Part 2
https://www.fatskills.com/java-programming/chapter/java-review-part-2

Java Review Complete 1
Time left 00:00
25 Questions

1. Multiplication operator

2. Java technology supports two types of streams: character and _____

3. The behavior of an object is determined by its ______ reference

4. The ______ method opens up a whole host of new operations on collections

5. ______ versions of map are mapToInt(), mapToLong(), mapToDouble()

6. A queue provides FIFO (first in, first out) operations with ____(e) and remove() methods

7. When an object is serialized, only the ____ of the object are preserved

8. A _______ is an area of memory that contains both code and data

9. Using the Path interface to access the components of a path use the following: __FileName, __Parent, __Root, __NameCount

10. The _______ list automatically grows if elements exceed initial size

11. The general contract for Object states that if two objects are considered equal (using the equals method, then the integer _______ returned for the two objects should also be equal

12. A path is either _____ or absolute

13. One benefit of using nested classes is increased __________ . Members can be declared private while still granting access to another nested 'helper' class

14. The findAny method returns an _______

15. A benefit of immutable classes in Java is that their objects by default are _____-safe, and can be shared without synchronization in concurrent environment

16. _______ are a sequence of elements on which various methods can be chained

17. A ______ provides FIFO (first in, first out) operations with add(e) and remove() methods

18. Comparable and Comparator interfaces can be used with sorted collections, such as TreeSet and ________

19. A program uses an input stream to read data from a source, ____ item at a time

20. Keyword used when a data field or method can be accessed within the same class or package

21. A field that is both static and final is considered a _______

22. The _____ modifier is used to declare fields and methods as class-level resources

23. ____ numbers have 64 bits

24. _______ small classes within top-level classes places the code closer to where it is used

25. Interfaces are similar to abstract classes containing only _____ abstract methods