Subscribe
Tutorial search

Java Development Tutorials


We hope that you will enjoy our Java Development tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own Java Development tutorial to our site. Thank you !

Sort by:
Decorator Design Pattern Example in Java
Decorator Design Pattern Example in Java
Decorator design pattern is a prominent Core Java pattern heavily used in Java development Kit. Decorator pattern is used to enhance functionality of individual object at runtime which gives flexibility to keep behavior of other object unaffected same time. BufferedReader and BufferedWriter is nice example of decorator design pattern in Java. Overall
Difficulty:
How to deal with Simple Cursor adapter
How to deal with Simple Cursor adapter
this tutorial is based on how to deal simple cursor adapter which is used to show or design the way to show the data in the listview.
Difficulty:
Using Android Checkboxes
Using Android Checkboxes
In almost any settings window/screen you will probably need to use a check box, to "tick" something on or off. We are going to do some easy check boxes to help make a selection of what kind of fruit we would like to eat. Once the box is selected we will press a "save settings" button to show our selection.
Difficulty:
Using String Resources
Using String Resources
For quick string references, like a global string, you should try and use the string resource. You can set a string resource by opening the file in your project explorer located at values/strings.xml. In this file is where we will define our strings.
Difficulty:
How to prepare Java Collection Interview questions
How to prepare Java Collection Interview questions
Java collection interview questions are core part of any java interview. Collection interview consists question on various collection classes like hashset, hashmap, linkedhashmap, arraylist, vector, linkedlist, hashtable , treeMap, treeSet and ConncurrentHashMap. Now days questions are mainly between Concurrent Collection classes and synchronized collection classes which is tough to answer.
Difficulty:
Things to remember when overriding CompareTo method in Java
Things to remember when overriding CompareTo method in Java
CompareTo method is defined in Comparable interface in Java and used to implement natural ordering of object.Implementing and overriding compareTo is neither too easy but not too difficult as well , there are certain things we need to keep in mind e.g. compareTo must be consistent with equals method, not using subtraction for comparing two integers etc. This article explains correct way of implementing compareTo in Java.
Difficulty:
What is HashMap in Java, how it works
What is HashMap in Java, how it works
One of the best article aournd HashMap in Java, its a intervie discussion which coveres internals of hashMap , must read.
Difficulty:
How to convert String to Integer to String in Java example
How to convert String to Integer to String in Java example
Converting string to integer and Integer to String is one of the basic tasks of Java and most people learned about it when they learn java programming. Even though string to integer and integer to string conversion is basic stuff but same time its most useful also because of its frequent need given that String and Integer are two most widely used type in all sort of program and you often gets data between any of these format. Few days back I had to convert a binary String into integer number and then I thought about this post to document all the way I know to convert between integer to string and string to integer. Here is my known way of string to integer conversion with example in java:
Difficulty:
Difference between ConcurrentHashMap and Collections.synchronizedMap and Hashtable in Java
Difference between ConcurrentHashMap and Collections.synchronizedMap and Hashtable in Java
The synchronized collections classes, Hashtable and Vector, and the synchronized wrapper classes, Collections.synchronizedMap and Collections.synchronizedList, provide a basic conditionally thread-safe implementation of Map and List. However, several factors make them unsuitable for use in highly concurrent applications for example their single collection-wide lock is an impediment to scalability and it often becomes necessary to lock a collection for a considerable time during iteration to prevent ConcurrentModificationException.
Difficulty:
How Serialization works in Java
How Serialization works in Java
Java Serialization is one of important concept but it’s been rarely used as persistence solution and developer mostly overlooked java serialization API. As per my experience Java Serialization is quite an important topic in any java interview, In almost all the interview I have faced there is one or two java serialization questions and I have seen interview where after few question on serialization candidate start feeling uncomfortable because of lack of experience in this area. This tutorial will explain Serialization in simple term and easy way.
Difficulty:
Developing application for iPhone, BlackBerry and J2ME in Java
Developing application for iPhone, BlackBerry and J2ME in Java
iPFaces is a flexible solution for easy development of form-oriented network mobile applications. With the iPFaces solution, mobile devices are able to render content received from a server using their native UI components.
Difficulty:
ArrayList - Simple version !
ArrayList - Simple version !
Hey guys, today I thought I could show you guys what you can do with ArrayList, java's own build in Array+List :>, the ArrayList is in general slower than normal Arrays if used in larger codes and scales, however the usage of ArrayList comes in hand when you need to have a re-size able Array with implemented functions from a List.
Difficulty:
Basic JFrame with a basic JButton.
Basic JFrame with a basic JButton.
Basic JFrame with a basic JButton. This is a basic JFrame with a basic JButton.
Difficulty:
Java Enum with example
Java Enum with example
Enum is powerful concept used to create type safe constants. This examples show how to create enum and use it in Java.
Difficulty:
Priority Queue implementation in java using Array
Priority Queue implementation in java using Array
In Priority Queue elements are arranged in particular order. Commonly requires a ranking system for the element. The elements are inserted in any order while retrieving it should be in natural or comparator order.
Difficulty:
Total Tutorials in Category: 107