Friday, December 14, 2012

Java Tutorial 2 Source Code

public class Tutorial { public static void main(String[] args) { byte dog = 127; short cat = 32000; int turtle = 2000000; long mouse = 100028383; double grams = 7.9; float f = 7.9; boolean open = true; String Sent = "I want to go to the pet store."; char signal = 'c'; System.out.println(Sent + " I want " + dog + " dogs."); } }

1 comment:

  1. Love your tutorial vids I'm really learning a lot from them keep up the great work !

    ReplyDelete