Posts

Showing posts with the label jdk

JAVA Library - JDK

  JAVA Library                Java is providing all the features which makes developers life easy through JAVA API. In Java API all the classes of similar functionalities will group under one package like that JAVA contains many packages in the JAVA API like java.lang, java, util, java.io etc…… To use any of the JAVA predefined feature in JAVA API we should know where the package the class belongs to. After knowing that we have to use full name to import any class in JAVA API like below.                    import java.util.ArrayList;             Here java.util.ArrayList is the full name of the class ., Java made this particular to remove confusion of the same class names . Thats why we have to import with complete name.             We will get one doubt that we are using many java builtin classes like System, String etc… but we are n...