Current location: Hot Scripts Forums » Programming Languages » Everything Java » Java tutorial


Java tutorial

Reply
  #1 (permalink)  
Old 05-28-10, 06:21 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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 05-28-10, 06:22 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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 05-29-10, 04:03 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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 05-29-10, 04:06 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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 05-30-10, 06:25 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #6 (permalink)  
Old 06-02-10, 04:58 PM
EliteHussar EliteHussar is offline
Disabled
 
Join Date: May 2010
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
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
  #7 (permalink)  
Old 06-19-10, 01:53 AM
sean007 sean007 is offline
Disabled
 
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
GlassFish security

GlassFish Security” is a new book from Packt that will help readers to secure their GlassFish installation, Web applications, EJB applications and Application Client modules. Users will also learn to secure Java EE artifacts (like Servlets and EJB methods), configure and use GlassFish JAAS modules, and establish environment and network security using this practical guide filled with examples. Furthermore, by using this book, they will be able to authenticate, authorize, and audit Web services using OpenSSO and secure them too.
Reply With Quote
Reply

Bookmarks

Tags
java, programming, tutorial


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Platform and Technologies Take Center Stage at India’s No.1 Software Developer Conference wonkim785 JavaScript 0 04-17-10 01:39 AM
Tutorial books for free - By Herong mark1048 General Advertisements 0 12-03-05 09:54 PM


All times are GMT -5. The time now is 05:49 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.