0% found this document useful (0 votes)
4 views1 page

Understanding Java's Diamond Operator

Uploaded by

Deepak Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Understanding Java's Diamond Operator

Uploaded by

Deepak Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

OOP with Java

Assignment Questions

1) What are functional Interfaces in Java? What are some of the built-in Functional Interfaces
provided by Java?

2) What is Lambda Expression? Write a Java program to implement a lambda expression to


find the sum of two integers.

3) Write a Java program to implement a lambda expression to sort a list of objects based on a
specific attribute.

4) How we Create Java Stream API? Perform different operations on Java Stream.

5) Describe static method in Java with examples. Discuss Difference Between the static
method and instance method.

6) Discuss Java 8 Base64 Encoding Without Padding and Java 8 URL Encoding.

7) Explain Basic Type Base64 Encoding and Decoding in Java.

8) What is forEach loop in Java? How we use forEach() with List or Set.

9) Discuss Java Type and Repeating Annotations with examples.

10)What is a diamond operator? Discuss Problem with the diamond operator while working
with Anonymous Inner classes.

11)What is spring framework in java? Discuss different fundamental concepts of spring.

12)Why we use spring? How we Understand Differences in key concepts?

13)What is bean scope? Discuss different bean scopes with examples.

14)Discuss different modes of autowiring.

15) What is Spring Framework Annotations? Discuss different types.

16) Describe Spring Bean creation and destruction phases.

17)What is spring boot? What is spring built boot system.

18)Describe rest controller with request mapping.

You might also like