Guest User

Untitled

a guest
May 24th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. public class Bear{
  2. boolean mother;
  3. boolean cubs;
  4.  
  5. }//end of class
  6.  
  7. public class Walk{
  8. public static void main(String[] args){
  9. System.out.println("Walking in the Woods!.... we heard a noise");
  10. if (ismother()) {
  11. System.out.println("Oh look a mom bear!");
  12. }//end of if
  13. else if (hascubs()){
  14. System.out.println("hey look there are cubs withe the mom!");
  15. }//end of main
  16. else if ((hascubs()) && (ismosther())){
  17. System.out.println("Oh fuck RUN MOFO RUN!!!");
  18. }//end of else if
  19. else {
  20. System.out.println("Ah nice day ... woods feel lonely!");
  21. }//end of else
  22. }//end of main
  23. }//end of class
Add Comment
Please, Sign In to add comment