Camera is a responsive/adaptive slideshow. Try to resize the browser window
It uses a light version of jQuery mobile, navigate the slides by swiping with your fingers
It's completely free (even though a donation is appreciated)
Camera slideshow provides many options to customize your project as more as possible
Thats the pride you have

Monday, 17 October 2016

Internal Details of Hello Java Program

In the previous page, we have learned about the first program, how to compile and how to run the first java program. Here, we are going to learn, what happens while compiling and running the java program. Moreover, we will see some question based on the first program.

What happens at compile time?

At compile time, java file is compiled by Java Compiler (It does not interact with OS) and converts the java code into bytecode.
compilation of simple java program 


What happens at runtime?

At runtime, following steps are performed:
what happens at runtime when simple java program runs
Classloader: is the subsystem of JVM that is used to load class files.
Bytecode Verifier: checks the code fragments for illegal code that can violate access right to objects.
Interpreter: read bytecode stream then execute the instructions.


Q)Can you save a java source file by other name than the class name?

Yes, if the class is not public. It is explained in the figure given below:
how to save simple java program by another name
To compile:javac Hard.java
To execute:java Simple


Q)Can you have multiple classes in a java source file?

Yes, like the figure given below illustrates:
how to contain multiple class in simple java program

Related Posts:

  • History of Java History of Java For the green team members, it was an advance concept at that time. But, it was suited for internet programming. Later, Java technology as incorporated by Netscape.Java history is interesting to know. … Read More
  • Internal Details of Hello Java Program Internal Details of Hello Java In the previous page, we have learned about the first program, how to compile and how to run the first java program. Here, we are going to learn, what happens while compiling and running … Read More
  • Simple Program of Java Simple Program of Java Software Requirements Creating Hello Java Example Resolving javac is not recognized problem In this page, we will learn how to write the simple program of java. We can write a simple hello java pr… Read More
  • OTHER PDF DOWNLOADS for ND1 DOWNLOAD YOUR EBOOKS FOR THESE SEMESTER COM 101 COM 112 COM 112 THEORY COM 113 COM 113 PRACTICALS STA 112 STA 113 Sorry guys coudnt get STA 111, MTH 111, GNS and MTH 113 You could get the materials in school' thank… Read More
  • Features of Java Features of Java Simple Object-Oriented Platform Independent secured Robust Architecture Neutral Portable High Performance Distributed Multi-threaded There is given many features of java. They are also known as jav… Read More

0 comments:

Post a Comment