Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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
 
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
 
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
 
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
 
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
 
Old October 13th, 2010, 11:23 PM
Registered User
 
Join Date: Sep 2010
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
Default java thread

how define the method of sleep in thread class?
 
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





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 06:40 AM
Tutorial sithius Access 1 March 13th, 2006 03:44 PM
Tutorial surendran ASP.NET 1.0 and 1.1 Basics 11 March 29th, 2005 01:30 AM
tutorial ajaikumar_2 BOOK: Beginning Visual C++ 6 1 January 22nd, 2005 07:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.