JAVA
Java, is a high-level, object-oriented programming language, was initially conceived by James Gosling at Sun Microsystems in 1991 and officially released to the public in 1995.
Renowned for its "Write Once, Run Anywhere" (WORA) capability, Java code can be compiled into bytecode that runs on any device equipped with a Java Virtual Machine(JVM), making it incredibly versatile. This platform independence, couple with its robust features, has cemented Java's position as a cornerstone for developing a vast array of application, from enterprise-level software and Android mobile apps to web application, big data solutions, and even games.
java used in different different ways such as:-
- Developing Desktop Application
- Web application like Linkedin.com, snapdeal.com
- mobile operating system like android
- Robotics and games .
=> Features of java👇:-
- Object-oriented :- Java fully supported Object oriented model. Everything program like an object.
- platform independent :- unlike many other programming language including C and C++ , when java is compiled . Java compiled code run on different different operating system.
- secure :- We can create virus free system with the feature of java.
- simple:- java is designed to be easy , to learn and use with their syntax.
- Compiled and Interpreted :- Java convert the source code (into byte code using Java virtual Machine (JVM). The byte code produces after compilation makes the machine more flexible for different machine.
- Multithreaded –:- Java allows user to write programs that allow to perform more than one tasks simultaneously. Multiple threads are used to execute instructions as per the program code. Multithreading concepts works the similar way as multiple processes run on one system
- High performance :- Java uses native code usage, and lightweight process called threads.
=> How to work with java :-
1) press window key and type bluej
2) now click on it.
The interface will display👇
3) Now click on new class & give it a name
Note:- classname written without space.
4)Now click on ok.5) Now right click / double click on the class .
6) Now type your basic structure here.
class classname
{
public static void main(String[]args)
{
}
}
.png)


0 Comments