• In 1995, Java was developed by Sun Microsystem.
  • It is a high leveled and widely used programming language.
  • For many years, Java is one of the most popular programming languages.
  • It provides support for primitive data types like char, int, etc. because it is not considered as pure object-oriented.
  • First Java codes are compiled into byte code and then it is runs on a Java Virtual Machine regardless of the underlying architecture.
  • Java syntax are similar to C / C++ .It does not provide low-level programming functionalities like pointers.
  • Java codes are always written in the form of classes and objects.
  • It is used in all kinds of applications like web application, mobile application, desktop application, client-server application, enterprise application and many more.
  • Java does not allow many things which may lead to bad/inefficient programming if used incorrectly so, only Java codes are generally more maintainable.
  • The programs are written in Java typically run faster than corresponding Python programs and slower than C++. Like C++, Java does static type checking, but Python does not, when compared with Python.

Example

public class Main {
public static void main(String[] args) {
System.out.println("Welcome to Wikitechy");
}
}

Output

Categorized in: