@@ -2181,6 +2181,14 @@ For numerical streams, an additional method is available `mapToObj()`that conver
2181
2181
< b>< a href= " #related-topics" > ↥ back to top< / a>< / b>
2182
2182
< / div>
2183
2183
2184
+ #### Q . Explain Difference between Collection API and Stream API ?
2185
+
2186
+ * ToDo *
2187
+
2188
+ < div align= " right" >
2189
+ < b>< a href= " #related-topics" > ↥ back to top< / a>< / b>
2190
+ < / div>
2191
+
2184
2192
## # 11. JAVA REGULAR EXPRESSIONS
2185
2193
2186
2194
< br/ >
@@ -3967,6 +3975,16 @@ now.get();
3967
3975
<b><a href="#related-topics">↥ back to top</a></b>
3968
3976
</div>
3969
3977
3978
+ #### Q. What is Spliterator in Java SE 8?
3979
+ #### Q. What is Type Inference in Java 8?
3980
+ #### Q. What is difference between External Iteration and Internal Iteration?
3981
+
3982
+ *ToDo*
3983
+
3984
+ <div align="right">
3985
+ <b><a href="#related-topics">↥ back to top</a></b>
3986
+ </div>
3987
+
3970
3988
## # 19. JAVA ENCAPSULATION
3971
3989
3972
3990
<br/>
@@ -4574,16 +4592,7 @@ new String ( Base64.getDecoder().decode ( " aW5wdXQ == " ), " utf-8 " ); // inp
4574
4592
<b><a href="#related-topics">↥ back to top</a></b>
4575
4593
</div>
4576
4594
4577
- #### Q. When do we go for Java 8 Stream API?
4578
- #### Q. Why do we need to use Java 8 Stream API in our projects?
4579
- #### Q. Explain Differences between Collection API and Stream API?
4580
- #### Q. What is Spliterator in Java SE 8? Differences between Iterator and Spliterator in Java SE 8?
4581
- #### Q. What is Optional in Java 8? What is the use of Optional?
4582
- #### Q. What is Type Inference? Is Type Inference available in older versions like Java 7 and Before 7 or it is available only in Java SE 8?
4583
- #### Q. What is differences between Functional Programming and Object-Oriented Programming?
4584
4595
#### Q. Give me an example of design pattern which is based upon open closed principle?
4585
- #### Q. What is Law of Demeter violation? Why it matters?
4586
- #### Q. What is differences between External Iteration and Internal Iteration?
4587
4596
#### Q. How do you test static method?
4588
4597
#### Q. How to do you test a method for an exception using JUnit?
4589
4598
#### Q. Which unit testing libraries you have used for testing Java programs?
0 commit comments