Monday, October 29, 2012

Too much of Object orientation !!!

This just came in my mind after a long day of training on plugin development in java.
Interface ShortTermTravel {
         Void    prepareVisaDocuments(String... docs);
         Void   getPhotoFromGkVale();
         Boolean   validateDocuments(String... docs);
         Double  getForex(String estimation);
         Long   getMatrixCard(String CountryCode);
         Void    packBags(Object[] foodItems, Object[] clothes, Object[] misc);
Everybody has to go implement this interface who want to go for a short term trip.
But the implementation could be different from company to company :D
Happy travelling ♡

No comments:

Post a Comment

About Me

My photo
Bangalore, Karnataka, India
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. I am a proud participant of this Race !!!!