February 2013

Set Collection Tutorial for Java Beginners

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

Set is a part Java Collection Framework. Set is an Interface in java.util package. It implements Collection Interface. Important Points related to Set It doesn’t contain duplicate elements. Some Set implementations have restriction on NULL element. […]

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-08-14T10:49:24+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-08-14T11:00:44+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. […]