BoutCheetah

Other => Spam => Topic started by: asmit10 on October 05, 2011, 11:34:15 PM

Title: Someone help me with this? idk what I did wrong.
Post by: asmit10 on October 05, 2011, 11:34:15 PM
class youtube3{
   public static void main(String args[]){
      double tuna;
      tuna = 5.28;
      
      System.out.print("tuna");
   }
}

When I run it, it just shows "tuna" not 5.28, can someone tell me what I did wrong ?
Title: Re: Someone help me with this? idk what I did wrong.
Post by: Allie on October 05, 2011, 11:37:46 PM
lmfao.
you told it to print out the word tuna, not the string tuna.
your an idiot.
Title: Re: Someone help me with this? idk what I did wrong.
Post by: asmit10 on October 05, 2011, 11:40:54 PM
Quote from: Allie on October 05, 2011, 11:37:46 PM
lmfao.
you told it to print out the word tuna, not the string tuna.
your an idiot.
fku
Title: Re: Someone help me with this? idk what I did wrong.
Post by: Allie on October 05, 2011, 11:43:52 PM
kenny lmfao'd at you too.

桜 says:
http://boutcheetah.zylongaming.com/index.php/topic,17269 (http://boutcheetah.zylongaming.com/index.php/topic,17269)
Kenny says:
lmfao
Title: Re: Someone help me with this? idk what I did wrong.
Post by: asmit10 on October 05, 2011, 11:50:36 PM
Quote from: Allie on October 05, 2011, 11:43:52 PM
kenny lmfao'd at you too.

桜 says:
http://boutcheetah.zylongaming.com/index.php/topic,17269 (http://boutcheetah.zylongaming.com/index.php/topic,17269)
Kenny says:
lmfao

-.-

Quote
fku
Title: Re: Someone help me with this? idk what I did wrong.
Post by: Santa on October 06, 2011, 12:10:10 AM
Quote from: asmit10 on October 05, 2011, 11:34:15 PM
class youtube3
{
   public static void main(String args[])
        {
      double tuna = 5.28;
      System.out.print(tuna.toString());
   }
}

When I run it, it just shows "tuna" not 5.28, can someone tell me what I did wrong ?
Title: Re: Someone help me with this? idk what I did wrong.
Post by: asmit10 on October 06, 2011, 12:16:30 AM
Quote from: Santa on October 06, 2011, 12:10:10 AM
Quote from: asmit10 on October 05, 2011, 11:34:15 PM
class youtube3
{
   public static void main(String args[])
        {
      double tuna = 5.28;
      System.out.print(tuna.toString());
   }
}

When I run it, it just shows "tuna" not 5.28, can someone tell me what I did wrong ?

Already figured it out, before allie posted :/ I just had to remove ""