title: Basic usage of multiple constructors with input in java
body: <p>I'm having trouble understanding constructors despite researching them, some assistance and explanations would be GREATLY appreciated.</p>
  
  <p>I'm aiming to have the user input a "make" and a "model" for a car, I would like the assignment of input to each variable in a constructor, and later on have three different cars.</p>
  
  <p>How can I properly and efficiently setup a "make" variable that is assigned to user input and can be accessed for display using constructors. This is very basic however I'm having a tough time coding it out.</p>
  
  <pre><code>package cartest;
  
  import java.util.Scanner;
  
  public class CarTest 
  //make, model, year, price, color, size
  //default constructor
  //property assignment constructor
  //enter three diferent cars and display final information
  //toString() method and a method to honk the horn
  {
      String make;
      String model;
      int year;
      int price;
      String color;
      String size;
  
      public CarTest()
      {
  
      }
  
      void setMake(String make)
      {
          Scanner scanner = new Scanner (System.in);
          System.out.println("Please enter a make:");
          make = scanner.nextLine();
      }
  
      void getMake()
      {
          System.out.println("Selected make: " + make);
      }
      void setModel(String model)
      {
          Scanner scanner = new Scanner (System.in);
          System.out.println("Please enter a model:");
          model = scanner.nextLine();
      }
  
  
  
      public static void main(String[] args) 
      {
  
          CarTest carOne = new CarTest(); 
          carOne.getMake();
  
  
  
      }
  
  
  }
  </code></pre>