November 23, 2024, 01:45:00 PMLatest Member: bertmorta
BoutCheetah » Forum » Other » Spam » Someone help me with this? idk what I did wrong.

Someone help me with this? idk what I did wrong.

Started by asmit10, October 05, 2011, 11:34:15 PM

Previous topic - Next topic

asmit10

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 ?
Quote from: cybercjt on May 27, 2012, 02:27:31 PM
Shegoat
i'm 6 according to Dillh
The internet is a great place to grow up. Just make sure you keep growing.


Allie

lmfao.
you told it to print out the word tuna, not the string tuna.
your an idiot.

asmit10

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
Quote from: cybercjt on May 27, 2012, 02:27:31 PM
Shegoat
i'm 6 according to Dillh
The internet is a great place to grow up. Just make sure you keep growing.


Allie


asmit10

Quote from: cybercjt on May 27, 2012, 02:27:31 PM
Shegoat
i'm 6 according to Dillh
The internet is a great place to grow up. Just make sure you keep growing.


Santa

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 ?

asmit10

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 ""
Quote from: cybercjt on May 27, 2012, 02:27:31 PM
Shegoat
i'm 6 according to Dillh
The internet is a great place to grow up. Just make sure you keep growing.


Copyright © ZylonGaming 2009 - 2024
-Terms of Use-