In the article, JavaSampleApproach will introduce you about Queue interface in Java and give you sample for practice.
In multithreaded programming, Java Future with Callable is very important for tasks which we want to know status and get the returned object.
This article give us an example for how to work with Future and Callable inside.
In the tutorial, JavaSampleApproach will provide all most of solution for find the n-th Fibonacci number with Java statements: for, do while, while and recursion implementation.
The tutorial will guide you how to use Jackson for converting Java object to Json and vice-versa.
– Gson for converting Java Object to/from Json
– How to convert Java Object into/from XML – with Castor & Spring Boot
– How to use @JsonView to serialize/de-serialize and customize JSON format from Java Object.
The tutorial guides you how to convert Java Object to Json and vice-versa by Gson.
This tutorial will help you have a deep view of Java 8 Streams: what they are, ways to create them, how they work with intermediate operations, terminal operation…
Method References make it clear when referring to the existing method by name.
When using lambda expression without input arguments or those input arguments doesn’t make sense, we can use Method References to simplify the syntax.
This tutorial introduces four kinds of Method References and how to use them efficiently with some Functional Interfaces.
Functional Interfaces is one of the new important things of Java 8. In previous article, we had a little view about common use cases of Lambda Expression including Runnable and ActionListener. They are example of Functional Interfaces.
This tutorial helps you have deeper concept of Functional Interface, then some interfaces which are provided in java.util.function package such as Predicate and Function.
Lambda expressions are new feature in Java 8. We now can represent one method interface by using an expression.
Java is an Object Oriented Programming Language. Object and Class are 2 main concepts of Java.
What are Java Object & Java Class?
The tutorial will introduce Java Object & Java Class.
How to initialize the state of Java object?
The tutorial will introduce Java Constructor for resolving above question.