Final Interview


 Java 17 Features(comparing to Java 11)



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

8. Java 17 Features(comparing to Java 11)
(Kseniya Y.).
● TextBlocks
● Extended switch expressions
● Sealed classes
● Records
● Garbage Collectors(Shenandoah GC, ZGC, No-Op GC)
● Java Flight Recorder and Java Mission Control
DESIGN PRINCIPLES AND PATTERNS OF
SOFTWARE DEVELOPMENT

What programming principles and patterns do you know?

What programming principles and patterns have you used?

SOLID

DRY(Don't Repeat Yourself) and DIE(Duplication Is Evil)

DESIGN PATTERNS

Types of design patterns.
1. MVC design pattern
1.
Model-View-Controller pattern explanation.


2.
Advantages and disadvantages of MVC.
3.
Benefits of using MVC.
4.
Spring MVC overview.
2. Proxy
1. What is the Proxy pattern?
2. Typical Use Case.
3. Rules of thumb.
4. Different proxies overview.
3. Facade
1. What is Façade pattern?
2. Steps to implements
3. Façade vs Proxy.
4. Decorator
1. What is the Decorator pattern?
2. Use case.
3. Rules to follow. Best practice.
4. Decorator vs Façade.
5. Singleton
1. What is Singleton pattern?
2. Ways to implement Singleton Class in Java.
3. Which classes are candidates of Singleton?
4. Double checked locking in Singleton.
5. Way to prevent another instance of Singleton, the same using reflection,
the same using serialization.
6. When Singleton not a Singleton in Java?
7. Advantage of Singleton vs Static Class.
6. Factory
1.
What is Factory pattern?
2.
Advantages and disadvantages of factory pattern.
3.
Why use a factory to instantiate a class?
4.
Factory vs abstract factory.



Yüklə 106,87 Kb.

Dostları ilə paylaş:
1   ...   4   5   6   7   8   9   10   11   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ə