Showing posts with label OOP. Show all posts
Showing posts with label OOP. Show all posts

Thursday, July 5, 2012

An Object Approach in B'Day

Open my email this afternoon ... and got this email from my PhD student, Zuhri. 
Very creative and thoughful ..! Thanks Zuhri ..!
(for those who do not understand computer language program ...just read and use your logic ..  hehe)


import java.Supervisor;  
public class Supervisee extends PhD{
               
                public static void main(String[] args)
                {
                                PhDStudent Zuhri = new PhDStudent();
                               
                                if(YOUR_SUPERVISOR'S B'DAY == true) {
                                                Zuhri.Wishes("Happy Birthday! Hope you had a lovely        year and all the very best for the coming ones");
                                                Zuhri.Resumes.Paper.Reading();
                                                Zuhri.Resumes.ContinuesWork();  
                    
                                }
                                else {
                                                Zuhri.Resumes.Paper.Reading();
                                                Zuhri.Resumes.ContinuesWork();
                                }
                }

}

Gambar Belangkas