Final Interview



Yüklə 106,87 Kb.
Pdf görüntüsü
səhifə2/12
tarix22.03.2024
ölçüsü106,87 Kb.
#183976
1   2   3   4   5   6   7   8   9   ...   12
Final Interview

10. Serialization
1. What is a serialization?
2. Overview of Serialization in Java, key moments.
3. Making class serializable.
4. Serializable vs Externalizable.
5. serialVersionUID in Java. Default and specified values. How does a
serialization mechanism interact with serialVersionUID?
6. Serialization and inheritance.
7. Serialization and Composition.
8. Ways to manage a serialization process.
9. Including or excluding data to be serialized.
10. Serialization and java versions, possible restrictions.
11. Where we can see usage of Serialization mechanism in java, best practice.
11. Exceptions in Java
1. What exception is?
2. Hierarchy of exceptions overview.
3. Checked vs Unchecked exceptions.
4. Important methods of Exception.
5. Java 7 and multi-catch block.
6. Custom exceptions, best practice.
7. Runtime exceptions.
8. Finally block usage, best practice.
9. Exception handling best practice.
10. Why checked exception introduced in Java?(YH)


12. Constants in Java
1. What is constant in java?
2. Ways to create constance.
3. What is enum?
4. Why was ENUM introduced in Java? Benefits of using.
5. ‘Classical’ constants vs enums.
6. Best practice to create, keep constances.
7. Constants in interfaces ? (YH)
13. Constructors and methods
1. What is a constructor?
2. Rules to define a constructor.
3. Default constructor.
4. Constructor chaining.
5. Constructor and method comparison.
6. A method signature, rules, best practice.
7. Overloading and overriding methods comparison, rules, best practice.
8. Exception handling in overloading and overriding.
14. Final keyword
1. Final class usage in java. Best practice.
2. Final vs Abstract class.
3. Final method rules, best practice.
4. Abstract method vs final method.
5. Final variable.
6. Does a final variable require initialization?
7. Blank final field.
8. Final parameters: when to use, best practice.
9. Final local variables rules, best practice.

Yüklə 106,87 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   ...   12




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.genderi.org 2024
rəhbərliyinə müraciət

    Ana səhifə