Explain the difference between collection api and stream api in java8?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can we declare static variables in JSP page.

3 Answers   TCS,


10. class Nav{ 11. public enum Direction { NORTH, SOUTH, EAST, WEST } 12. } 13. public class Sprite{ 14. // insert code here 15. } Which code, inserted at line 14, allows the Sprite class to compile? a)Direction d = NORTH; b)Nav.Direction d = NORTH; c)Direction d = Direction.NORTH; d)Nav.Direction d = Nav.Direction.NORTH;

2 Answers  


how to print the below in java?thanks in advance.... * * * * * * * *

3 Answers  


What do you mean by composition in java?

0 Answers  


What is the static block?

0 Answers  






What are the differences between heap and stack memory?

0 Answers  


Is ruby built on java?

0 Answers  


Can a constructor be made final?

0 Answers  


What is pangram in java?

0 Answers  


What does the “static” keyword mean? Can you override private or static method in java?

0 Answers  


how we can make a read-only class in java?

0 Answers  


Explain pass by reference and pass by value?

8 Answers   IBM, Wipro,


Categories