Category: Java

  • Set in Java

    Set in Java

    Set in Java Set in Java. In this Article I will Explain what is Set Java by stepping through the sample code below. What is Set Set can be explains as an Interface which extends a group of element collection.Basically there are 3 Set Type HashSet -> This Command does not maintain the order of…

  • Java LinkedList

    Java LinkedList

    Java LinkedList Java LinkedList uses double lineked list references to store its element   Things to be Take Note about LinkedList: In an LinkedList Class,there are no shifting. So the Processing time is fast. You can access any LinkedList Elements according to its Array Index Number. LinkedList Class is non Synchronized LinkedList Class maintain its…

  • ArrayList in Java

    ArrayList in Java

    ArrayList in Java ArrayList in Java, ArrayList is a Class which is use dynamic Arrays to Store Elements. Things to be Take Note about ArrayList: In an ArrayList Class,Element will be shift forward, when an element is being removed from the ArrayList. So the Processing time will be slow You can access any Arraylist Elements…

  • Exception Handling In Java

    Exception Handling In Java

    Exception Handling In Java   Exception Handling In Java. Without Using Exception Handling , when there is an error occur either cause by the User or the program itself. Java will totally shut down the whole Program.,and the remaining code subsequently  will not be executed. But if we use “Exception Handling” we might be able…

  • Overriding in Java

    Overriding in Java

     Overriding in Java Overriding in Java!. In this Article i will explain what is an overriding in Java by stepping through the sample program below In the sample program below, first  I will create a super  class named “carPrice” .Then i will create “2 child “class the same Method name , to overwrite the Parent Method in the Super Class. Finally i…