Final Interview



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



/If you are editing something - leave a comment who does it
For personal use, please, copy the document. Do not add answers here.
JAVA CORE
1. Class (Type, File)
1. Ways to create a new type/class in java (class, interface, …)
2. ‘Inner’ classes: classification, differences, best practice.
3. A few types in one ‘java’ file: rules of usage, best practice.
4. Naming convention for classes, best practice.
5. Keywords to be used for creating new classes/types.
6. Structure of a new type, possible structural elements.
7. Byte code in java.
8. Structure of a file with extension ‘.class’.
2. Usage of Static and non static Blocks in a Class
1. Why were static and non static blocks were introduced in Java?
2. Life cycle of static and non static blocks.
3. Static and non static blocks and inheritance: rules of initialization static and
non static blocks between parent and children.
4. Usage of static blocks and best practice.
5. Non static blocks: usage, best practice.
3. Classloader
(Hierarchy:
Bootstrap,
Extensions,
System,
User-defined…)
1. What is the mechanism of classloading?
2. Default hierarchy of classloaders.
3. What is the role of every element in hierarchy?
4. Why don’t use only one or two classloaders?
5. Life cycle of a ‘class’ when it is loaded by classloaders.
6. Stages of class construction.
7. User-defined classloader. Why and when we need it? Best practice.
8. Library Version Conflicts and how classloaders resolve it.
9. A possibility to load different versions of the same libs.
//10. Types of Exceptions are thrown by classloading mechanism./


9. Collections
1. Collections API review, hierarchy, contract of interfaces.
2. Collection related features in Java 8.
3. Collections framework, benefits of usage.
4. Generics in Collections Framework.
5. Benefits of iterator usage. Iterator vs Listiterator. Fail-fast and fail-safe
difference.
6. Vector and ArrayList comparison.
7. How HashMap works in java?
9. ArrayList vs LinkedList.

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ə