title: I need to use an object created in one static method in another static method but have issue calling it
body: <p>(This is a repost of a previous question I have where I modified the code so it is much easier to understand.)</p>
  <pre><code>public class LaptopSaleApp{
       public static void main(String[] args){
            selectLaptop();
            selectSupportOptions(laptopOrder);//This parameter cannot be resolved into a variable
       }
       public static void selectLaptop(){
            LaptopSalesOrder laptopOrder = new LaptopSalesOrder(&quot;Dell Latitude&quot;, 1399.00);
       }
       public static void selectSupportOptions(LaptopSalesOrder laptopOrder){
            laptopOrder.setBasicIndicator(true);
       }
  }
  </code></pre>
  <p>I need two static methods here. The object has to be declared in the first method, and then is used in the second method for the setBasicIndicator setter. I then need to call both methods in my main to run the program, but I don't know what to put in the parameters for the method in the main.</p>