Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java Tutorials Part 2 - Variables, Data Types etc.

Loading...

Sign in or sign up now!
7,172
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 13, 2008

** These Videos are meant to be watched in FULL screen on high-detail mode, so please do not complain that you cannot read it in the comments. Click high detail and go to full screen! **

http://youtube.com/watch?v=lDZiHeWa3JQ&fmt=18

HIGH DETAIL LINK ^^


Source Code:

public class Tutorial2 {

public static void main(String[] args) {

int ourfirstnumber = 10;
double ourfirstdouble = 10;
String astring = "Hello Java"; String var = "This is a variable";
System.out.println(ourfirstnumber);
System.out.println(ourfirstdouble);
System.out.println(astring);
System.out.println(var + " Whatever");




}

}

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • thanks man it makes more sense now i enjoyed the tut keep em coming i wonna see like a project like mess with minecraft or someting

  • were do u find

    var authTokens = { 'watch_pms_ajax_xsrf_token': 'pg9h1lNsbNBhSlPIS8uFacqfNcdQM­TI2NDczMzO1NA==', 'address_book_ajax_xsrf_token'­: 'zTa3VjUtn1IQYsUKzinPyPurVfZ8M­TI9NDczOzA1NA=='

    on the thing?

  • @ooogmorg It's "System.out" And "println"

  • You have the most distracting backgrounds but these tutorials are good.

  • thanks a lot!!!

    I'm fr. India & in my school the computer teacher sounds like minnie mouse no one can understand her...thanks your vid has helped me out a lot and i hope your tutorials is gonna save me fr. failing computers in my matriculation.

  • in almost every line i get an error with it pointing to the system.out specifically the period between system and out the same thing happens if its a system.in line

  • God I get the first comment in over a year.....

  • I'm pretty sure a string is an array of characters. Since char takes up 16 bits, I think a string takes up 16 bits * its length + 1.

    The + 1 is there because stings have a hidden character at the end.

    I'm not sure about any of this, so don't take my word for it >.>

  • Thank you very much! Very helpful!

  • Very helpful man. Thanks and keep these coming

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more