Java Programming Course
About Lesson


Java Programs is a high-level, general-purpose programming language developed by Sun Microsystems (now owned by Oracle) in the mid-1990s. It is a class-based, object-oriented language with features such as automatic memory management, platform independence, and strong typing.

A Java Virtual Machine (JVM) installed on any platform can execute the bytecode which has been compiled from Java programs. This means that Java programs can run on a wide range of devices, from desktop computers to mobile phones to embedded systems.

Developing web applications, mobile apps, enterprise software, and scientific computing applications are commonly used for Java. It has a vast library of built-in classes and frameworks that make it easy to develop complex applications quickly.

public class MyClass {
private int myVariable;

public void setMyVariable(int value) {
myVariable = value;

public int getMyVariable() {
return myVariable;