Java is divided into three systems:

JavaSE (J2SE) (Java2 Platform Standard Edition, java platform standard edition)

JavaEE (J2EE) (Java 2 Platform, Enterprise Edition) , java platform Enterprise Edition)

JavaME (J2ME) (Java 2 Platform Micro Edition, java platform micro edition).

Java objects and classes syntax

Java as an object-oriented language. Supports the following basic concepts:

Polymorphism, inheritance, encapsulation, abstraction, class, object, instance, method, overloading

Java objects and classes example

public class Dog{
  String breed;  
  int age;  
    String color;  
    void barking(){
  }
 
  void hungry(){
  }
 
  void sleeping(){
  }}