Java Tutorial

Javapapers is a java tutorial site passionately maintained by Joe. Tutorials written are of Java, Servlets, Jsp, Spring framework, Android and design patterns. Javapapers stands out from the crowd by providing in-depth tutorial on each topic at the same time keeping it simple. This helps to refresh your Java knowledge, keep updated with latest Java news, prepare for Java interview, and Java certifications. Welcome!

Recent Tutorials

Why Object is Super Class in Java?

04/09/2014
java.lang.Object class is the super base class of all Java classes. Every other Java classes descends from Object. Should we say the God class? Why is that so? This Java article is to discuss around it. In Mathematics, an axiom is a starting point of reasoning using which other statement can be logically derived. The […]
This tutorial was added to Java.

Java Collections Interview Questions – Part I

03/09/2014
Following are the Java collections interview questions most frequently asked in interviews. I have attempted to keep the answers short and simple, as the objective is to help you prepare and revise topics for interviews quickly. Java Collections Interview Questions How to filter a Java collection? How to sort a Java Collection? Best way to […]
This tutorial was added to Java.

Java PriorityQueue

01/09/2014
PriorityQueue belongs to the Java Collections Framework. PriorityQueue is based on  priority heap and it is an implementation of Queue interface. This data structure can be used when we need a Queue implementation and we have a requirement to maintain the elements of that collection in a specific sorted order based on each element’s priority. […]
This tutorial was added to Java.

Android Studio Shortcuts You Need the Most

24/08/2014
Switching from Eclipse to Android Studio for Android development requires some adjustments. Android Studio is based on IntelliJ IDEA and for those new to this IDE, this refcard article will be of help. I have got used to Eclipse and boosted my productivity by using the Eclipse shortcuts regularly. Mouse is a productivity killer, mouse […]
This tutorial was added to Android.

Java Mind Map Free Tool: FreeMind

21/08/2014
Mind map is a diagrammatic way of representing a thought process, ideas and concepts. An informal way of organizing unstructured information. We start from a central concept and branch out from there and create an ecosystem around it. The advantage of mind maps is there is no real hard standard like UML. Anything even a […]
This tutorial was added to Java.

Java 9 Initial Features Announced

20/08/2014
The first set of Java Enhancement Proposals (JEPs) that will be considered for Java 9 features are here. Java release timeline is getting enriched. Before going in the the Java 9 features detail, let us have a quick summary about what is a JEP. Java Enhancement Proposals (JEPs) The Java Enhancement Proposals serve as a […]
This tutorial was added to Java.

Android Twitter Feed Reader

18/08/2014
This Android tutorial is to demonstrate an application that will connect to the Twitter and read the tweets and display it. We will use the Twitter 1.1 API to access the tweets by authenticating via OAuth. We will be using the gson-2.2.4.jar for parsing the Json response. Apart from the gson API we will not […]
This tutorial was added to Android.

Temporal Adjuster Example: Second Saturday

14/08/2014
For now this is the last example in the temporal adjuster example series. This tutorial is to find second Saturday of a month. Refer the temporal adjuster tutorial and introduction to java 8 date and time API to know more about this topic. Temporal adjuster is a powerful utility. It will be really handy in […]
This tutorial was added to Java.

Temporal Adjuster Example: First In Year

14/08/2014
If you are reading this temporal adjuster example series, you will find this example to be different from all others. This temporal adjuster is going to take an argument and adjust the value based on the argument passed. For example, given an year what date falls on first Monday. This temporal adjuster takes the DayOfWeek […]
This tutorial was added to Java.

Temporal Adjuster Example: Next Prime Hour

14/08/2014
We are continuing with the temporal adjuster examples series. Lets see something different with this tutorial. In the previous examples, we saw date based temporal adjusters. In this Java tutorial, let us see a time based temporal adjuster. Given a time, lets adjust it for the next prime hour. The hour where it is a […]
This tutorial was added to Java.