Constructor in Java - Scanner Class :     import java.util.Scanner; 
    public class Tutorials {
    public static void main(String[] args) {
       
        Car Vehicle = new Car();
        Vehicle.supboys();
    }
}





    import java.util.Scanner; 
    public class Car {
         private String Vehicle;
         public Car(String name) {
            Vehicle=name;
    }

    Car() {
        throw new UnsupportedOperationException("Not supported yet.");    
    }
    public void setName (String name) {
        Vehicle=name;
    }
    public String getName (){
        return Vehicle;
    }
    public void saying(){
        System.out.printf("Vehicle Brand is called %s\n ", getName());
    }
    public void supboys() {
        Scanner Boyz = new Scanner(System.in);
        System.out.println ("Your New Car is " + Boyz);
    }
    }
I am new to programming so I wanted to some practise, regarding constructors. I wanted to try doing a scanner class for this program but cant seem to get it to work. The program does not give a proper error message to me either. Does anyone have any suggestions? (Apologies for the messy code)
