src/main/java/edu/bu/met/cs665/FooterPackage/NewCustFooter.java
/**
     * This method will print a random social media handle
     * from an array of strings
     */
This method will print a random social media handle
from an array of strings
This method will print a random social media handle from an array of strings
@Override
    public void socialMedia() {
        System.out.println("Add us on social Media: ");
        String[] arr={"Twitter: @CarsUSA", "Instagram: @CarsUSA", "Facebook: Cars USA", "Snapchat: @CarsUSA123"};
        Random r=new Random();
        int randomNumber=r.nextInt(arr.length);
        System.out.println(arr[randomNumber]);
    }
@ Override public void socialMedia ( ) { System . out . println ( "Add us on social Media: " ) ; String [ ] arr = { "Twitter: @CarsUSA" , "Instagram: @CarsUSA" , "Facebook: Cars USA" , "Snapchat: @CarsUSA123" } ; Random r = new Random ( ) ; int randomNumber = r . nextInt ( arr . length ) ; System . out . println ( arr [ randomNumber ] ) ; }
This method will print a random social media handle
 from an array of strings
This method will print a random social media handle from an array of strings