• www.uptuexam.com
  • GBTU Results 2014
  • MTU Results 2014
  • UPTU Circulars
  • COP Result 2012,13,14
  • UPTU Previous Papers
  • GATE study material
  • Robotics Projects
Thank you for visiting www.UPTUexam.com " Free download Exam materials, previous year question papers, free ebooks & Providing Important Questions To Do their Exams Well and Totally a FREE SERVICE for all engineering streams (B.Tech)."

JVM, JRE & JDK


JVM, JRE & JDK

v  Format of class file.
v  Class loading mechanism.

v  Memory Management etc.


JVM




JDK

·                  In Java, classes are packaged and distributed in jar format.
Jar -  Java Archive
·                  Sun Microsystems provides classes of core java library through a jar file named “rt.jar.
·                  C:\NewJava>jar
jar -tf rt.jar

jar -tf rt.jar> a.txt


To compress
jar -crf a.jar *
jar -tf a.jar (to see)

jar -xf a.jar (to extract)





The above program in modified form


PROGRAM first2.java

public class First2
{
public static void main()
{
System.out.println("It is overloaded main.....");
}
public static void main(String args[])
{
System.out.println("Invoked by JRE, invoking overloaded main......");
main();
}
}

OUTPUT –












1 comment:

  1. Great Article
    IoT Projects for Students




    Deep Learning Projects for Final Year




    JavaScript Training in Chennai



    JavaScript Training in Chennai



    The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

    ReplyDelete