How can i run multiple test scenarios one by one on a single device

package tutorial;

import java.net.MalformedURLException;
import java.util.concurrent.TimeUnit;

import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;

public class Testcase1 extends base{
//extends base call the parent class here

public static void main(String[] args) throws MalformedURLException, InterruptedException {
	// TODO Auto-generated method stub
	AndroidDriver<AndroidElement> driver=Capabilities();
    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
      
  
    //Wrong credentials 
    driver.findElementByXPath("//android.widget.EditText[@text='Username']").setValue("TTte");
    driver.findElementByXPath("//android.widget.EditText[@text='Pin']").setValue("0406");
    //Clicking on login button
     driver.findElementByXPath("//android.widget.Button[@text='LOG IN']").click();
     
     driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);
     
     driver.wait(5000);
}


     
     public static void main1(String[] args) throws MalformedURLException {
 		// TODO Auto-generated method stub
 		AndroidDriver<AndroidElement> driver=Capabilities();
 	    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
     	 
	 //testcase-1 (entering correct password)
		driver.findElementByXPath("//android.widget.EditText[@text='Username']").setValue("TTEST");
		    driver.findElementByXPath("//android.widget.EditText[@text='Pin']").setValue("0206");
		    //Clicking on login button
		     driver.findElementByXPath("//android.widget.Button[@text='LOG IN']").click();
	   
		     driver.manage().timeouts().implicitlyWait(5, TimeUnit.SECONDS);
		     
		    driver.findElementByXPath("//android.widget.ImageView[@index='0']").click();