Java Demo Notes
Java Demo Notes
Introduction to Java:
Java is a High-Level Programming Language.
Java is a true object oriented language.
Java was Developed by James Gosling and Mike Sheridan in 1995.
Java is a platform-independent language. This means that Java code can run on any
platform that has a Java Virtual Machine (JVM).
It was developed in year 1991.
Initially, it was called as Oak (tree name)
It's name got changed to Java in year 1995.
Java has a huge community support (tens of millions of developers)
1] Simple:
2] Static Methods:
Java allows the creation of static methods that don't belong to any object.
In a pure object-oriented language, all methods would be associated with
objects.
4] Primitive Casting:
Java allows type casting between primitive data types, which involves
converting one type to another.
In a pure object-oriented language, such conversions wouldn't exist, and
everything would be treated uniformly as objects.