Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

macguyver2

By: ace on May 12th, 2010  |  syntax: None  |  size: 1.19 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. /**
  3.  * Write a description of class MacGuyver here.
  4.  *
  5.  * @author (your name)
  6.  * @version (a version number or a date)
  7.  */
  8. public class MacGuyver
  9. {
  10.     // instance variables - replace the example below with your own
  11.    
  12.  
  13.     /**
  14.      * Constructor for objects of class MacGuyver
  15.      */
  16.     public MacGuyver()
  17.     {
  18.         // initialise instance variables
  19.        
  20.     }
  21.  
  22.     /**
  23.      * An example of a method - replace this comment with your own
  24.      *
  25.      * @param  y   a sample parameter for a method
  26.      * @return     the sum of x and y
  27.      */
  28.     public void getWrench()
  29.     {
  30.         // put your code here
  31.       Basement b = new Basement();
  32.       b.getWrench();
  33.     }
  34.  
  35.  
  36.     public void getFuzzyHandcuffs()
  37.         {
  38.             Bedroom br = new Bedroom();
  39.             br.getFuzzyHandcuffs();
  40.         }
  41.        
  42.         public void getStickyback()
  43.         {
  44.             Study s = new Study();
  45.             s.getStickyback();
  46.         }
  47.        
  48.         public void buildDevice()
  49.             {
  50.                EngineRoom e = new EngineRoom();
  51.                e.makeVeryCleverDevice(getWrench(), getFuzzyHandcuffs(), getStickyback());
  52.             }
  53.     }