Final Interview



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

JAVA FEATURES
N1. Generics
1.
What is Generics in Java? How it works.
2.
Bounded vs unbounded wildcards.
3.
Rules to write a generic method.


4.
Generics and collections.
5.
Creating parameterized class/interface using Generics.
6.
What is
PECS
?
2. Varargs
1.
What is it? Important points about varargs in java.
2.
How do varargs work?
3.
Varargs in methods. Overloading varargs methods.
4.
Best practice.
3. Static import
1.
What is static import in Java?
2.
What advantage (disadvantage) to use static import?
4. Annotations
1.
What is annotation in Java? Why was it added?
2.
Java Annotation package overview.
3.
Typical use cases overview.
4.
Creating annotations step by step. Consumer. Best practice.
5.
Which program element can be annotated?
6.
Repeating annotations, Meta-annotations.
5. Functional Programming
● What is a Lambda Expression?
● What is a Method Reference?
● What is a functional interface?
● What is the difference between a normal and functional interface?
● Which functional interfaces do you know?
● In what package they are located?
● What is a
Predicate
interface?
● What is a
Supplier
interface?
● What is a
Consumer
interface?
● What is a
Function
interface?
● What is
Stream
?
● What does it mean that Stream is lazy?
● What is the difference between
Collection
and
Stream
?
● What is Stream Pipelining ?


● How to make Stream parallel?
● What are use cases for Stream parallelization?
● How to create Stream?
● How to create an endless Stream?
● Can you convert an array to Stream?
● Can you convert a Collection to Stream?
● Can you convert Stream to an array?
● What are the main types of Stream operations?
● What is the difference between intermediate and terminal operations?
● Could you please give some examples of intermediate operations?
● Could you please give some examples of terminal operations?
● What is the difference between operations

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ə