105 reputation
2

looser

public class Looser { boolean javaLover = true; boolean movieLover = true;

    public boolean isJavaLover()
    {
        return true;
     }
    public void setJavaLover(boolean flag)
    {
       if(flag)
      {
         this.javaLover = flag;
       }  else{
               System.out.println("You cant just simply break up my relation with java !! !! Go away !! ");
          }

      }
   public boolean isMovieLover()
   {
    return true;
   }
   public void setMovieLover()
   {
        System.exit();
      }
 }
 public class StackOverFlow
  {
     public static void main(String a[])
     {
       Looser looser = new Looser();
      System.out.println("Is He ?"+ looser.isJavaLover);
      System.out.println("Yes He is !! "+ looser.isMovieLover);
      }

    }

Out Put

 Is He true
 Yes He is !! !! true

Top Tags (5)

Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top Posts (2) All Questions Answers | Votes Newest

Badges (2)

Gold
Silver
Bronze 2

Rarest