Profile cover photo
Profile photo
Ankit Mittal
398 followers -
Highly experienced Software Architect and Corporate trainer
Highly experienced Software Architect and Corporate trainer

398 followers
About
Posts

Post has attachment
Simple Scheduler And Processor in java
You are here : Home / Core Java Tutorials / Program > Schedule to run every Sunday in midnight in java > import java.util.Calendar; import java.util.Date; import java.util.Timer; import java.util.TimerTask; public class SchedulerSundayNightRun {    public s...
Add a comment...

Post has attachment
Cloning ArrayList of custom object properly in java - do Deep clone arraylist in java
You are here : Home / Core Java Tutorials / Collection framework Tutorial in java Earlier we read Cloning in java using clone- Shallow and deep copy - 8 techniques for deep copying- 8 important points about cloning Now let’s Deep clone arraylist in java. I ...
Add a comment...

Post has attachment
Find The First Non Repeatable Character using core java - don't use any Map
You are here : Home / Core Java Tutorials / Interview Programs (beginner to advanced) in java / Level1 programs for (beginner) Example 1 in java> s="aabcdeefggi"; /* //Output NonRepeatableCharacter = b NonRepeatableCharacter = c NonRepeatableCharacter = d N...
Add a comment...

Post has attachment
Lambda expressions tutorial In java 8
You are here : Home / Core Java Tutorials / Java 8 tutorial 1) Introduction to Lambda expressions? Lambda expressions are the most valuable addition in java 8. So, we will discuss about them in detail with easy and very simple examples. 2) In short about La...
Add a comment...

Post has attachment
What are Method references in java 8
You are here : Home / Core Java Tutorials / Java 8 tutorial 1) What are Method references in java 8? We use Lambda expressions to replace anonymous methods in java 8. But at times, a lambda expression does nothing but call an existing method. In such cases,...
Add a comment...

Post has attachment
Default method in java 8
You are here : Home / Core Java Tutorials / Java 8 tutorial 1) default method in interface in java 8 Now, we can add add default(non-abstract) method in interfaces in java 8 (Before java 8, we could only write abstract method in interfaces in java 8) 2) But...
Add a comment...

Post has attachment
Static methods in java 8
You are here : Home / Core Java Tutorials / Java 8 tutorial 1) static method in interface in java 8 Now, we can write static method in interface in java 8. (Before java 8, we could only write abstract method in interfaces in java 8) We can define these stat...
Static methods in java 8
Static methods in java 8
javamadesoeasy.com
Add a comment...

Post has attachment
Lambda scopes in java 8
You are here : Home / Core Java Tutorials / Java 8 tutorial 1) Final variable can be accessed in lambda expression in java 8 (Behavior same as anonymous inner class ) @FunctionalInterface interface CalculatorInterface {    Integer sumMethod(Integer val1 , I...
Add a comment...

Post has attachment
IntStream in java 8 in in detail - Almost all the Practical usages with examples
You are here : Home / Core Java Tutorials / Java 8 tutorial Program/ Example - package stream3_00_workingwith_intStream; import java.util.OptionalDouble; import java.util.OptionalInt; import java.util.stream.IntStream; import java.util.stream.Stream; public...
Add a comment...

Post has attachment
In Java 8 - Find sum of all between 1 to 5 and add 10 to that
You are here : Home / Core Java Tutorials / Java 8 tutorial Program/ Example -        //In Java 8 - Find sum of all between 1 to 5  and add 10 to that       //using reduce method of IntStream        System. out .println( "--2" );         int reduced2 =     ...
Add a comment...
Wait while more posts are being loaded