Monday, 24 May 2021

Lambda Expression in Java 8

Lambda ExpressionLambda calculus was the big change in Mathematical world which came in 1930s. Because of this programmers also started using it. LISP is the 1st lang where lambda expressions came first. Apart form LISP, C, CPP, PYTHON, SCALA, RUBBY, Objective CAdvantages To enable functional programming in java To write more readable, maintainable and concise code To use APIs very easily and effectively. To...
Read More »

Monday, 17 May 2021

10.0 Collection Framework in Java

Collection FrameworkWhy there is need of collection framework ? Limitation of Array : 1. Fixed in Size - If we give less size then we can't expand it at run time, If we give more space then unused space will be of no use.2. They are Homogeneous in type, we can only store similar type of data into an Array.3. There is underlying data structure behind this as a result of there is no additional...
Read More »
Page 1 of 23123...23Next »Last