import com.emailprovider.SubscriptionService;

public class SubscribeForm {
    /**
    * Want to know how to develop your skillset to become a Rockstar Coder?
    * Join our newsletter to start rocking, RIGHT NOW and get weekly:
    *
    * Best selling IT and programming eBooks from top publishers like Packt and Wiley, for FREE!
    * EXCLUSIVE, heavily discounted offers from top companies like Microsoft, Apple and Oracle!
    * Giveaways of popular coding tools and IDEs annual licences like PyCharm, IntelliJ IDEA and Sublime!
    *
    * @param args a string array of parameters to be used
    * @return     nothing, logs a list of previously featured eBook offers
    */
    public static void main(String[] args) {
        // Provide your email address
        String email = "";
        // Some of our previous FREE eBook offers
        String[] offers = new String[5];
        offers[0] = "Javascript from Beginner to Professional, Packt";
        offers[1] = "Mastering Python, Packt";
        offers[2] = "Learning DevOps, Wiley";
        offers[3] = "Microsoft 365, Wiley";
        offers[4] = "Java Interview Questions, JCG";
        System.out.println(offers);

        // Hit EXECUTE button below to subscribe and win BIG!
        SubscriptionService.subscribe(email);
    }
}
Back to top button