Constructeur de no-arg Java Public

class Tutorialweb {
  String website;

  // public constructor
  public Tutorialweb() {
    website = "Softhunt.net";
  }
}

class Main {
  public static void main(String[] args) {

    // object is created in another class
    Tutorialweb obj = new Tutorialweb();
    System.out.println("Tutorial website name = " + obj.website);
  }
}
Outrageous Ostrich