@@ -2181,6 +2181,14 @@ For numerical streams, an additional method is available `mapToObj()`that conver
21812181 < b>< a href= " #related-topics" > ↥ back to top< / a>< / b> 
21822182< / div> 
21832183
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+ 21842192## # 11.  JAVA  REGULAR  EXPRESSIONS 
21852193
21862194< br/ > 
@@ -3967,6 +3975,16 @@ now.get();
39673975 <b><a href="#related-topics">↥ back to top</a></b>
39683976</div>
39693977
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+ 39703988## # 19. JAVA ENCAPSULATION
39713989
39723990<br/>
@@ -4574,16 +4592,7 @@ new String ( Base64.getDecoder().decode ( " aW5wdXQ == " ), " utf-8 " ); // inp
45744592 <b><a href="#related-topics">↥ back to top</a></b> 
45754593</div> 
45764594
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? 
45844595#### 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? 
45874596#### Q. How do you test static method? 
45884597#### Q. How to do you test a method for an exception using JUnit? 
45894598#### Q. Which unit testing libraries you have used for testing Java programs? 
0 commit comments