what is java

Java
abstract class scratch{
  
}public abstract class GraphicObject {

   abstract void draw();
}Java is a general-purpose programming language that is 
class-based, object-oriented, and designed to have as 
few implementation dependencies as possible.

Hello World in Java:
public class FileName {
  public static void main(String args[]) {
    System.out.println("Hello World!");
  }
}
Source

Also in Java: