1.Introduction:Download and Install JDK
1.Introduction:Download and Install JDK
https://www.oracle.com/java/technologies/javase/javase-jdk8-
downloads.html
1.Introduction :compiler vs interpreter
•Simple- Java was designed to be easy for professional programmer to learn and use effectively.
•Object oriented -
•Distributed- Java is designed for distributed environment of the Internet. Its used for creating applications on networks
•Interpreted-
Usually a computer language is either compiled or Interpreted. Java combines both this approach and makes it a two-stage.
•Robust –
Java is a strictly typed language. It checks code both at compile time and runtime.
Java takes care of all memory management problems with garbage-collection.
Java, with the help of exception handling captures all types of serious errors and eliminates any risk of crashing the system.
•Secure-
Java provides a “firewall” between a networked application and your computer.
When a Java Compatible Web browser is used, downloading can be done safely without fear of viral infection or malicious intent.
Java achieves this protection by confining a Java program to the java execution environment and not allowing it to access other parts of the
computer.
•Architecture neutral
Java language and Java Virtual Machine helped in achieving the goal of “write once; run anywhere, any time, forever.”
•Portable
•High performance
•Multithreaded
•Dynamic
Introduction :Skelton of java
A variable is a name given to a memory location. It is the basic unit of storage in a program.
•The value stored in a variable can be changed during program execution.
•A variable is only a name given to a memory location, all the operations done on the variable
effects that memory location.
•In Java, all the variables must be declared before use.
String Methods