Java training-course-navi-mumbai-java-course-provider-navi-mumbai,best java classes in navi mumbai,best classes for java in navi mumbai,java classes in navi mumbai,java training classes in navi mumbai
Best java courses in Navi Mumbai
best classes for java in Navi mumbai
java classes in Navi mumbai
java training classes in Navi mumbai
best java classes in Vashi
Vibrant Technologies & Computers java COURSE Make Career With Us!! B2/6/2 Vashi ,Navi Mumbai, Contact:09892900103/9892900173
java course provider in Navi mumbai
Food processing presentation for bsc agriculture hons
Java training-course-navi-mumbai-java-course-provider-navi-mumbai,best java classes in navi mumbai,best classes for java in navi mumbai,java classes in navi mumbai,java training classes in navi mumbai
2. 1.LECTURE ON OVERVIEW OF JAVA
Topics
1.What is java
2.History of Java
3.Versions Of java
4.Tool to write java programs
5.How Java program Run
6.First Java Program
7.Discription of Java Program
3. How Java Program Run
1. Java program, use a compiler that reads the statements in the program and
translates them into a machine independent format called bytecode.
2. These instructions, called bytecodes, are the same for any computer / operating
system.
3. The compiled Java code (resulting byte code) will be executed at run time.
Some Definitions For Java Programs
1. Unicode- Unicode provides a unique number for every character,
no matter what the platform, program and language.
2. Bytecode- highly optimized set of instructions designed to be executed by the
JVM in any platform.
3. Java Virtual Machine- it interpret .java file and converted to bytecode i.e. .class
file.
4. Just in Time Compiler- complies bytecode into executable code in real time
4. Flow of JAVA Program
Character-- for exam.(bt)
Demo.java
Unicode(u0008 u0009)
JVM( Java Virtual Machine)
interpreter
javac Demo.java
Bytecode( .class File)
Demo.class
JIT( Just in Time Compiler)
java Demo
compiler
Final output
5. What is Java?
1.Java is a object oriented programming language and also platform first released
by Sun Microsystems in 1995.
2. It is intended to let application developers "write once, run anywhere"
(WORA), meaning that code that runs on one platform does not need to be
recompiled to run on another
3. James Gosling Mike Sheridan, and Patrick Naughton are the creators and
developers of java language
4. In 2009-10 Oracle Corporation takes acquisition of Sun Microsystems.
5. Java software runs on everything from laptops to data centers ,game
consoles to scientific supercomputers . There are 930 million Java Runtime
Environment downloads each year and 3 billion mobile phones run Java.
6. Sr.No
Version Name
Released Date
1.
JDK Alpha and Beta
1995
2.
JDK 1.0
January 23, 1996
3.
JDK 1.1
February 19, 1997
4.
JDK 1.2
December 8, 1998
5.
JDK 1.3
May 8, 2000
6.
JDK 1.4
February 6, 2002
7.
JDK 5.0
September 30, 2004
8
JDK6
December 11, 2006
9
JDK 7
July 28, 2011
7. Tools(IDE) To Write Java Programs
1.Editors. Editors are simpler: they generally highlight the Java
syntax, indent for developer, balance y parentheses and braces,
and let compile from within the editor. But that's about it: they
don't write code, integrate tightly with the compiler or app server,
or have graphical Java development tools.
2.IDEs. IDEs i.e. Integrated development environment
are more complex: most of them have visual Java development
tools, tight integration with the compiler or application server, and
may include tools for debugging, refactoring, version control, and
so forth.
3.Some of the IDEs for java are Eclipse, NetBeans,
BlueJ,Jcreator,IntelliJ IDEA Borland Jbuilder etc… .
8. First Java Programs
Demo.java
public final class Demo
{
System.out.println(“ demo class”);
}
Step for Saving, compiling and Running a Java Program
•
Step 1: Save the program With .java Extension.
•
Step 2: Compile the file from DOS prompt by typing javac <filename>.
•
Step 3: Successful Compilation, results in creation of .class containing byte code
•
Step 4: Execute the file by typing java <filename without extension>
9. Description Of Java Program
public static void main(String args[])
{
System.out.println(“hello”);
}
Contents Of Java Program
public- access specifier publicly
static-allow main() to be called without instantiate a particular instance of the
class
voiddoes not return a value
main()- called by JVM for interpretation
String args[]-array of instance of class String objects of type String store character
Strings. args[] receives any command –line arguments at runtime
System- predefined class in java.lang pkg.
out-output stream connected to the console.
println()- method to print line , string provided as argument
Notas do Editor
What is Java?Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!