OOP JAVA Unit 3 Handwritten Notes AKTU (BCS403)
AKTU · BTECH · Semester 4 · Object Oriented Programming with Java · Unit 3 · Handwritten Notes
AKTU Object Oriented Programming with Java (BCS403) Unit 3 handwritten notes for B.Tech Semester 4 – Java New Features. Topics: Functional Interfaces and…
A preview is available. Sign in or check access options in the reader for the complete resource.
Unit 3: Java New Features – AKTU syllabus topics
- Functional Interfaces and Lambda: Lambda Expressions, Method References
- Stream API: Default and Static Methods, ForEach Method Stream Operations
- Annotations and Modules: Type and Repeating Annotations, Java Module System
- Modern Java Syntax Features: Switch Expressions Yield Keyword, Text Blocks Records Sealed Classes, Local Variable Type Inference
- Miscellaneous Java Features: Base64 Encode Decode, Try With Resources
Most asked AKTU PYQ questions from Unit 3
- Q2c. What is the Stream API in Java? How does it help in functional-style operations? (7 marks, 2024-25)
- Q5a. What are functional interfaces and how are they implemented using lambda expressions? (7 marks, 2024-25)
- Q1e. What is a functional interface? Give an example. (2 marks, 2024-25)
- Q5b. Describe the role of annotations in Java and how type annotations are used. (7 marks, 2024-25)
- Q2c. Explain the functional interfaces in Java. Describe lambda expressions with the help of functional interfaces. (7 marks, 2023-24)
- Q5a. Explain Java stream API and its applications. Describe Intermediate and terminal operations with suitable example. Write a program to print sum of all even numbers from an ArrayList<Integer> containing all integers from 1 to 10. (7 marks, 2023-24)
- Q5b. Compare and contrast switch-case statement with switch-expression in Java. Explain with suitable example. (7 marks, 2023-24)
- Q1f. Write a Java program to create an ArrayList<String> with five items and display all the elements using forEach method. (2 marks, 2023-24)
- Q1g. Explain the concept of Sealed classes in Java with suitable example. (2 marks, 2023-24)
AKTU paper codes: BCS403
Other Object Oriented Programming with Java units
Object Oriented Programming with Java previous year papers
More Object Oriented Programming with Java resources
Browse all notes · Semester 4 notes