Java-Lang Package

Lang¬†Package All classes from the java.lang package are automatically imported into every Java program. Following program used the System and String classes. Both of these classes belong to the java.lang package. As this package would be automatically imported, we did not import it ourselves in that program. Program Program Source public class Javaapp { public … Read more…