I am new to java Can any one explain in below code we do constructor without parametre why?
java
import java.util.*;
public abstract class compte {
protected int numero;
protected String nom;
protected double solde;
protected String datecreate;
ArrayList<operation> op= new ArrayList<operation>();
public compte(int numero,String nom,double solde,String datecreate){
this.numero=numero;
this.nom=nom;
this.solde=solde;
this.datecreate=datecreate;
}
public compte(){
}