In the article, JavaSampleApproach will introduce you about Queue interface in Java and give you sample for practice.
[Continue reading…] “Java Collection – Java Queue Interface”
Simple, feasible, practical, integrative Programming Tutorials
Java is the foundation for virtually every type of networked application and is the global standard for developing and delivering embedded and mobile applications, games, Web-based content, and enterprise software. With more than 9 million developers worldwide, Java enables you to efficiently develop, deploy and use exciting applications and services.
From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
97% of Enterprise Desktops Run Java
89% of Desktops (or Computers) in the U.S. Run Java
9 Million Java Developers Worldwide
#1 Choice for Developers
#1 Development Platform
3 Billion Mobile Phones Run Java
100% of Blu-ray Disc Players Ship with Java
5 Billion Java Cards in Use
125 million TV devices run Java
5 of the Top 5 Original Equipment Manufacturers Ship Java ME
In the article, JavaSampleApproach will introduce you about Queue interface in Java and give you sample for practice.
[Continue reading…] “Java Collection – Java Queue Interface”
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.
Related Articles:
– Java Thread Pool – ExecutorService
– Java 8 CompletableFutures
– Java 8 CompletableFuture Handle Exception
– Java 8 Multiple CompletableFutures
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.
[Continue reading…] “Solution for find the N-th Fibonacci number”
The tutorial will guide you how to use Jackson for converting Java object to Json and vice-versa.
Related Articles:
– 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.
[Continue reading…] “Jackson to convert Java Object to/from Json String”
The tutorial guides you how to convert Java Object to Json and vice-versa by Gson.
Related Articles:
– Jackson to convert Java Object to/from Json String
– How to convert Java Object into/from XML – with Castor & Spring Boot
[Continue reading…] “Gson to convert Java Object to/from Json”
Java 8 comes with some prominent features like Lambda Expressions, Method References. And Streams are also an important concept that we should comprehend.
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.
In the article Lambda Expressions and Functional Interfaces, we use lambda expressions to create anonymous methods and sometimes, calling an existing method is the only thing it does.
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.
[Continue reading…] “Java 8 – Method References”
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.