February 2013

Sorted Map Collection Tutorial for Java Beginners

By | 2017-07-09T12:14:27+00:00 February 16th, 2013|Core Java|

 Salient Point of SortedMap This interface is the map analogue of SortedSet. IT provides ordering on its keys. Sorted criteria would be to natural order or Comparator provided at the time of creation. Keys used in it must implement Comparable or accept the specified comparator. Keys in this map need to be mutually comparable. In [...]

Java 6 Navigable Set Tutorial for Beginners

By | 2013-02-16T06:42:09+00:00 February 16th, 2013|Core Java|

Navigable Set Interface is added in Java 6 (1.6). It is the part of Java Collection Framework. Salient Point of Navigable Set Navigable Set can be accessed and Traversed in ascending or descending order. Performance of Ascending operation is likely to be faster than descending. […]

November 2012

Java developers must know..

By | 2012-11-07T04:31:03+00:00 November 7th, 2012|Core Java|

Java Virtual Mechine. How it works? First jvm looks for main method in class.if exists then it will start executing from that Inside the Java virtual machine, threads come in two flavors: daemon and non- daemon. A daemon thread is ordinarily a thread used by the virtual machine itself, such as a thread that performs [...]

this keyword in Java

By | 2017-07-09T12:10:16+00:00 November 2nd, 2012|Core Java|

What is this this  is a keyword in Java. It can be used inside the Method or constructor of  Class. It(this) works as a reference to the current Object whose Method or constructor is being invoked. The this keyword can be used to refer to any member of the current object from within an instance [...]

October 2012

Different ways to create an object in Java

By | 2017-07-09T12:09:30+00:00 October 28th, 2012|Core Java|

You are required to use “new” operator to create an Object of a Class. This is not true in order to create an Object. There are several ways to create an Object of a Class : Using new keyword Using new Instance (Reflection) Using Clone Using Deserilization Using ClassLoader … don’t know 🙂 […]

public static void main(string args[]) Explanation

By | 2012-10-12T21:14:25+00:00 October 12th, 2012|Core Java|

class JBT{ public static void main(String args[]) { System.out.println("Hello JBT"); } } In the above application example we are using public static void main. Each word has a different meaning and purpose. Public : is an Access Modifier, which defines who can access this Method. Public means that this Method will be accessible by any Class(If [...]

Java Statements tutorial for Beginners

By | 2017-07-09T12:09:05+00:00 October 4th, 2012|Core Java|

Here we will learn about statements in Java. Types of Java Statement Control Statement Assignment Statement  In this section we will discuss about control statements. Click here for additional information on assignment statement. […]

September 2012

Variables in Java

By | 2017-07-09T12:05:27+00:00 September 3rd, 2012|Core Java|

Introduction In Java, objects store their states in variables. Variables are used as containers to hold values (int, long, string…) during the life cycle of an application. […]