Category Archives: Java


Variable types in Java

We have previously seen about data types in java and some basics of variables. This post is all about Variable Types in Java. Variable is named memory location to store value of particular data type. Data type here is a Read more…


stack in Java collection

Stack is most popular data structure in computer. Stack in Java collection framework is a class that extends Vector class. Stack is a class implements Serializable, Clonneable,Iterable<>, Collection<>, RAndomAccess and List<> intefaces. Constructor Stack has only one constructor. Stack(); This Read more…


Exception In java

Example Illustrating Exception case 3 try with multiple catch: In last topic we have discussed two example programs illustrating exception handling. In this case I wanna present a program with multiple catch blocks with a single try block.

Observe Read more…


Exception In java

Example Illustrating Exception case 1 In this post I’ll discuss some Example illustrating Exception. In first case I will write a small code in which nothing will be done in order to handle exception. lets look at the code and Read more…


Inheritance in java

Inheritance in Java: Inheritance is the most used buzzword in java programming language. In previous posts we have understood about “what is class and how to use class and objects?”. You of class must have good concept about class and Read more…


Data Types Image

Today we will discuss about Java data types. Among them primitive data types will be focused in this post. “Is Java a pure object oriented language?” Let’s start discussion with a sensitive question , “Is Java a pure object oriented Read more…