Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Java Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Java Basics General beginning Java language questions that don't fit in one of the more specific forums. Please specify what version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 28th, 2010, 07:21 PM
EliteHussar
Guest
 
Posts: n/a
Default Java tutorial

Programming Tutorial
At least since the first edition of Kernighan and Ritchie’s The C Programming Language it’s been customary to begin programming tutorials and classes with the “Hello World” program, a program that prints the string “Hello World” to the display. Being heavily influenced by Kernighan and Ritchie and not ones to defy tradition we begin similarly.
Java Tutorial 1 – Hello World: The Application
Reply With Quote
  #2 (permalink)  
Old May 28th, 2010, 07:22 PM
EliteHussar
Guest
 
Posts: n/a
Default Java Tutorial 2 – Classes and Objects: A First Look

Programming tutorial

Classes are the single most important feature of Java. Everything in Java is either a class, a part of a class, or describes how a class behaves. Although classes will be covered in great detail in section four, they are so fundamental to an understanding of Java programs that a brief introduction is going to be given here.

Java Tutorial 2 – Classes and Objects: A First Look
Reply With Quote
  #3 (permalink)  
Old May 28th, 2010, 07:23 PM
EliteHussar
Guest
 
Posts: n/a
Default Java Tutorial 3 – The For Statement and Operators

Programming tutorial

Java isn’t as redundant as perl, but there’s still almost always more than one way to write any given program. The following program produces identical output to the Fahrenheit to Celsius program in the preceding section. The main difference is the for loop instead of a while loop.

Java Tutorial 3 – The For Statement and Operators
Reply With Quote
  #4 (permalink)  
Old May 29th, 2010, 05:05 PM
EliteHussar
Guest
 
Posts: n/a
Default Java Tutorial 4 – Methods

Programming Tutorial
Java Tutorial 4 – Methods
All the programs we’ve written to date have been quite simple, well under fifty lines of code each. As programs grow in size it begins to make sense to break them into parts. Each part can perform a particular calculation and possibly return a value. This is especially useful when the calculation needs to be repeated at several different places in the program. It also helps to define a clearer picture of the flow of the program, much like an outline shows the flow of a book.
Java Tutorial 4 – Methods
Reply With Quote
  #5 (permalink)  
Old June 2nd, 2010, 05:59 PM
EliteHussar
Guest
 
Posts: n/a
Default Java Tutorial 5 – Arrays

Programmming Tutorial
Java Tutorial 5 – Arrays
In non-trivial computing problems you often need to store lists of items. Often these items can be specified sequentially and referred to by their position in the list. Sometimes this ordering is natural as in a list of the first ten people to arrive at a sale. The first person would be item one in the list, the second person to arrive would be item two, and so on. Other times the ordering doesn’t really mean anything such as in the ram configuration problem of the previous chapter where having a 4 MB SIMM in slot A and an 8 MB SIMM in slot B was effectively the same as an 8 MB SIMM in slot A and a 4 MB SIMM in slot B. However it’s still convenient to be able to assign each item a unique number and enumerate all the items in a list by counting out the numbers.

Java Tutorial 5 – Arrays
Reply With Quote
  #6 (permalink)  
Old October 13th, 2010, 11:23 PM
Registered User
 
Join Date: Sep 2010
Location: India in pune
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default java thread

how define the method of sleep in thread class?
Reply With Quote
  #7 (permalink)  
Old November 4th, 2010, 11:18 PM
Registered User
 
Join Date: Oct 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Talking

Thank you for sharing these tutorials. This would really help me review my java knowledge. I have a question, where can I download free Java environment? thank you. :D
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial surendran ASP.NET 2.0 Basics 0 May 24th, 2006 12:15 PM
java download help/tutorial prodigy Java Basics 1 March 18th, 2006 05:40 AM
Tutorial sithius Access 1 March 13th, 2006 02:44 PM
Tutorial surendran ASP.NET 1.0 and 1.1 Basics 11 March 29th, 2005 12:30 AM
tutorial ajaikumar_2 BOOK: Beginning Visual C++ 6 1 January 22nd, 2005 06:32 AM



All times are GMT -4. The time now is 05:11 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.