What is java?

 


 Java is a high-level, object-oriented programming language created in 1995 by James Gosling and his team at Sun Microsystems. Later, java became part of Oracle Corporation, which maintains it today.


When was java developed?

  • 1991 – Started as a project named Oak by James Gosling and his team.
  • 1995 – Officially released as Java by Sun Microsystems.
  • 2009 – Oracle Corporation acquired Sun Microsystems and took over Java’s future.
  • Today – Java powers millions of apps, from Android to enterprise systems.

Why People love java?

 

1. Runs Anywhere

Thanks to the JVM, Java applications don’t care whether you’re using Windows, macOS, or Linux. It just works.

2. Object-Oriented

Java is built around OOP principles (like inheritance and encapsulation), which help developers write clean and reusable code.

3. Beginner-Friendly

If you’ve ever tried learning C or C++, you know how tricky things like pointers can get. Java avoids that complexity, making it easier for beginners.

4. Super Secure

Java takes security seriously. It checks code before running it and prevents malicious access to your system.

5. Reliable and Robust

With features like automatic garbage collection (cleaning up memory automatically), Java apps are less likely to crash due to memory issues.

6. Handles Multiple Tasks

Java supports multithreading, which means it can perform multiple tasks at once—perfect for games, animations, and real-time apps.

7. Supports Distributed Systems

Need your program to work across networks? Java has tools for that too.

8. Faster Than You’d Expect

It may not be as fast as C, but thanks to its Just-In-Time (JIT) compiler, Java still performs impressively well.


Java working process


  1. You write your code in a .java file.
  2. The Java Compiler converts it into bytecode (.class file).
  3. The JVM executes that bytecode, making it run on any system

         Where is uses of java

 

1. Web Development

Frameworks like Spring make it easy to build fast and secure web apps.

2. Mobile Apps

If you’ve used an Android app today, chances are Java was behind it.

3. Enterprise Systems

Banks, hospitals, governments—many rely on Java for large-scale applications.

4. Scientific Computing

From simulations to research tools, Java handles heavy data processing.

5. Cloud Services

Platforms like AWS and Google Cloud often integrate Java.

6. Big Data

Frameworks like Hadoop and Spark use Java for handling massive amounts of data.

7. Desktop Software

Tools like JavaFX help build cross-platform desktop apps.

8. Games

Though not as common as Unity, Java is still used in creating 2D and 3D games.


More About Java :    https://khanaswatiblog.wordpress.com/

Post a Comment

1 Comments