Tuesday, October 21, 2014

SysKan News

package com.syskan.greetings; import com.syskan.Sweets; import com.syskan.Dresses; import com.syskan.Crackers; public class DiwaliGreetings { public static void main (String [] args) { DiwaliGreetings dg = new DiwaliGreetings(); dg.takeOilBath(); dg.WearNewDress(); dg.burstCrackers(); dg.eatSweets(); dg.wishFamilyAndFriends(); } public void takeOilBath () { System.out.println( "\t Done With Oil Bath \n"); } public void wearNewDress () { System.out.println( "\t You are looking good in New Dress \n"); } public void burstCrackers () { System.out.println( "\t Give importance to your safety \n"); } public void eatSweets () { System.out.println( "\t Enhance the Joy of Festival with delicious sweets and Snacks \n"); } public void wishFamilyAndFriends () { System.out.println( "\t Wish you Happy Diwali to ALL!!!!!"); } }

No comments:

Post a Comment