Computer Videos

Java Programming #2 Basics: Data Types

Back


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+"\n"+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 ":")

Category: Tech
Uploaded: February 17th, 2008 @ 5:24 am
Author: Longhorndude08

Length: 03:53
Rating: Whole StarWhole StarWhole StarWhole StarHalf Star
Views: 2,075

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

Related Video Links:


» View Video Comments For Java Programming #2 Basics: Data Types
» View Longhorndude08's Other Uploaded Videos

Video Thumbnails:


Thumbnail #1 Video Thumbnail #1:

Thumbnail #2 Video Thumbnail #2:

Thumbnail #3 Video Thumbnail #3:



Video Embedding Code:


Video Url:


Embed Code:

* Embed this video on your website, social bookmark, myspace, or blog.