how to create object in java without constructor code example
Example: java class without constructor
//If you don't write the constructor explicitly, compiler will generate a no-args constructor by default.
public Maze(){
}
//If you don't write the constructor explicitly, compiler will generate a no-args constructor by default.
public Maze(){
}