Today I will teach you what Java is and how it is used in the works.
What is Java?
Java is a most popular programming language👈.
Java was originally developed by James Gosling by Sun Microsystems (acquired by Oracle). Java was released in 1995. The syntax of Java is similar to C and C++
James Gosling and team started the Java language project in June 1991
Filename extensions - .java, .class, .jar
Example - Filename.java
Java various versions and release date
Version | Date |
---|---|
JDK Beta | 1995 |
JDK1.0 | January 23, 1996 |
JDK 1.1 | February 19, 1997 |
J2SE 1.2 | December 8, 1998 |
J2SE 1.3 | May 8, 2000 |
J2SE 1.4 | February 6, 2002 |
J2SE 5.0 | September 30, 2004 |
Java SE 6 | December 11, 2006 |
Java SE 7 | July 28, 2011 |
Java SE 8 | March 18, 2014 |
Java SE 9 | September 21, 2017 |
Java SE 10 | March 20, 2018 |
Java SE 11 | September 25, 2018 |
Java SE 12 | March 19, 2019 |
Java SE 13 | September 17, 2019 |
Java SE 14 | March 17, 2020 |
Java SE 15 | September 15, 2020 |
Java SE 16 | March 16, 2021 |
You can create using java
- Mobile applications (specially Android apps)
- Desktop applications
- Web applications
- Web servers and application servers
- Games
- Database connection
Why Java is used and its features?
- It is easy to learn and easy to use
- It is open-source and free
- It is safe, fast and powerful
- It is one of the most popular programming languages in the world
- It has huge community support (tens of millions of developers)
- Java works on various platforms (Windows, Mac, Linux, Raspberry Pi, etc.)
- Java is an object-oriented language that gives programs a clear structure and allows code to be reused, reducing development costs
- As Java is closer to C ++ and C #, this makes it easier for programmers to switch to Java or vice versa.
Hello World Program in Java example
public class myHelloWorld {
public static void main(String args[]) {
// Prints the text to the console.
System.out.println("Hello World!");
}
}
Output
Hello World!
Post a Comment