#java
Read more stories on Hashnode
Articles with this tag
Question 191: program to find the middle number from the linked list? class ListNode { int val; ListNode next; ListNode(int val) { ...
Question 181: Bean scopes — what are default bean scopes? Singleton (Default Scope): The singleton scope means that a single instance of the bean is...
Question 171: Diffrence between map vs flat map Map: The map() operation applies a function to each element in the stream and returns a new stream...
Question 161: Difference between map and flat map map is used to transform each element of a collection independently and returns a new collection...
Question 151: How mutable reference can be handled in an immutable class? To handle mutable references in an immutable class: Use defensive...
Question 141: What is the use of default methods in Java? Interface evolution: They allow adding new methods to interfaces without breaking existing...