Question Index

Which of the following Statement(s) is/are incorrect?

1. Map is Interface and HashMap is class which implements that.
2. Vector is synchronized whereas ArrayList is not synchronized.
3. Serialization is a mechanism by which you can save the state of an object by converting it to a byte stream.
4. The Serializable interface is an empty interface, it does not contain any methods. So we do not implement any methods.
5. If we write System.exit(0); at the end of the try block, the finally block will be executed.

1, 2 and 3
1 and 3
3 and 5
4 only
5 only



Topic: Advanced Java Programming Concepts

Read this topic
Take test on this topic

Score more than 2 points

© meritcampus 2019

All Rights Reserved.

Open In App