Search:

photoshop photoshop tutorials graphic design trade show design

THIS MONTH'S SPECIALS

Java Programming #2 Basics: Data Types

Help With Acne
Help With Acne Help With Acne
Help With Acne

This is the second video on java programming--Data Types, a little more advanced, below is a little practice/challenge. CODE: public class variables{ public static void main(String[]beans){ char a='A'; String b="I Like Cheese"; int c=10; double d=1.5; float e=5462.56235426457345754f; long f=9999999999l; System.out.println(a+"\n"+b+"\ "+c+"\n"+d+"\n"+e+"\n"+f); } } CHALLENGE/PRACTICE: Create Strings containing your First, Middle and last name. Ints that contain your age and birth year. And doubles that print your salary and the time (use a "." insteas of a ":")

Channel: Science & Technology
Uploaded: November 30, 1999 at 12:00 am
Author: Longhorndude08

Length: 03:53
Rating: 4.88
Views: 2230

Tags: basics  computer  computers  data  java  longhorndude08  output  programming  screen  System.out.println();  tutorial  two  types  

Video Url:


Embed Code:

Video Comments

IMPgenesis (November 30, 1999 at 12:00 am)
dude double is longer than float
Longhorndude08 (November 30, 1999 at 12:00 am)
For a single quote it's the same as " but without holding down shift - '
JavaPrograming (November 30, 1999 at 12:00 am)
it's an = sign, ex. int num=5;
TheGhostMan23 (November 30, 1999 at 12:00 am)
How do I do single quote? can someone say the program as a comment? what the red thing after "a" a star? *?
haterallday (November 30, 1999 at 12:00 am)
lol "AAAAAAAAAAAAAAAAAAAAAAAAAAAARG"
jallewellyn (November 30, 1999 at 12:00 am)
I like the part where you can't select the thing and say "AARG".

Free Photoshop Videos and Tutorials © 2007 All Rights Reserved.