Professional Documents
Culture Documents
Topic
Made by : SUBHOJIT ROY(BCA 2nd Year)
1. What is java?
Roll no : 13301221051
2. What is JRE , JDK , JVM?
On Account of : Continuous Assessment 1(3rd Sem)
3. Write a basic program in java and explain it.
Paper code : BCAC301
WHAT IS JAVA ?
Java is a programming language and computing platform first released by Sun Microsystems in 1995. It has evolved
from humble beginnings to power a large share of today’s digital world, by providing the reliable platform upon which
many services and applications are built. New, innovative products and digital services designed for the future
continue to rely on Java, as well.
While most modern Java applications combine the Java runtime and
application together, there are still many applications and even some
websites that will not function unless you have a desktop Java installed.
Java.com, this website, is intended for consumers who may still require Java
for their desktop applications – specifically applications targeting Java 8.
ALL ABOUT JVM
JVMs are available for many hardware and software platforms. JVM, JRE, and
JDK are platform dependent because the configuration of each OS is Native
different from each other. However, Java is platform independent. There are Class Pc
Heap Stack register
method
three notions of the JVM: specification, implementation, and instance. area stack
The JVM performs the following main tasks:
o Loads code
o Verifies code Java
o Executes code native
o Provides runtime environment Execution Native method libraries
Engine interface
ALL ABOUT JRE AND JDK
class prog1 {
public static void main(String args[])
{
System.out.println("BCA , 3rd SEM is learning Java Programming....");
}
}
Explanation In this program first of all I’ve made a class named prog1 as this is our first program in Java.
Then I’ve declared the main function which is totally different from C language, here we need to write
“public static void main(String args[])” to declare the main function. Then simply I’ve written a printf
function but again the syntax is not same as C language, here we have to write “System.out.println(“What
we want to print”)”. Like it we have to write the print function to print something in Java. And its
completed, as simple as that.