Java Tutorials
Introduction to Java:
- Java is a programming language.
- Before going to start learning any programming language, we need to answer few simple questions as follows.
What is Program?
Set of instructions.
What is Programming language?
It is software.
What is the language that machine understand?
Binary language.
What is the need of Programming language?
- Communication is the concept of sharing information.
- Communication is possible using applications digitally.
How can we communicate with machine?
- Using programming languages, we can write source code easily.
- We use translators(compiler) to convert the source code into machine code.
- We can input the compile code to the machine to process.
Types of applications:
- Program is a set of instructions
- Application is a set of programs.
- Programming languages are used to develop applications.
- Applications are mainly divided into 2 types
- System level applications.
- Network level applications.
System level applications:
- The application can run from single machine.
- It is also called Standalone application.
- We must install standalone application into machine.
- Examples: VLC, Ms-Office, Anti-virus, Browser…..
- Standalone applications are compatible to OS(platform)
We must specify the OS type before downloading standalone application:
- Windows – can run .exe files only
- Mac – can run .dmg files only
- Linux – can run .rpm files only
- Android – can run .apk files only
Note: Every programming language is a Standalone application. We must download and install compatible to OS.
Web applications:
- The application deploys (install) in server machine.
- We can run the application from number of client machines via network.
- Web application is platform independent.