| Author |
static, private....etc
|
fred fredricks
Greenhorn
Joined: Mar 04, 2003
Posts: 16
|
|
hi guys...does anyone know of a really, and i mean, really easy to understand tutorial on the basics...i downloaded a few, but i am still a little cofused, with terms like static and private, void....those things really got me confused....thanks a lot! saludos drowning newbie!!
|
 |
Jason Menard
Sheriff
Joined: Nov 09, 2000
Posts: 6450
|
|
|
Check out Bruce Eckel's Thinking in Java. You may download the entire book at his site.
|
Jason's Blog
|
 |
Jeff Bosch
Ranch Hand
Joined: Jul 30, 2003
Posts: 804
|
|
I like the Java Tutorial. You can download a copy for free, or view it online, or buy a copy from Amazon.com. The tutorial has clear explanations, lots of examples, and it's free! If you want to buy a book, you may want to consider Head First Java by Kathy Sierra and Bert Bates. This book adds an often-missing ingredient to learning a high-level programming language: fun! Good luck, and happy learning. Regards, Jeff
|
Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
|
 |
Dirk Schreckmann
Sheriff
Joined: Dec 10, 2001
Posts: 7023
|
|
(It's just a repititious day.) Sometimes reading the same topics from different authors and points of views helps a lot towards understanding said topic. Here is a list of free on-line Java tutorials and books that I have found useful:Sun's Java TutorialIntroduction to Computer Science using Java by Bradley KjellIntroduction to Programming Using Java by David J. EckDick Baldwin's Java Programming TutorialsInteractive Programming In Java by Lynn Andrea SteinBruce Eckel's Thinking In JavaAnd right now, Douglas Dunn is providing a free pre-release version of his Java Rules Volume 2 book at http://www.javarules.com
|
[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
|
 |
Jeff Bosch
Ranch Hand
Joined: Jul 30, 2003
Posts: 804
|
|
Yes, there is a bit of an echo in here in here. Regards, Jeff
|
 |
Nischal Tanna
Ranch Hand
Joined: Aug 19, 2003
Posts: 182
|
|
static can be applied to a variable,method or even an inner class static variable or a static method implies no object for the respective class i.e., instantiating the class is not necessary in order to access that method or variables. for example class ex { static void display() { System.out.println("hello"); } public static void main(String[] ag) { display(); } } private is an access specifier. if a method or a variable is declared as private in a class,they cannot accessed outside the scope of the class,not even in a child class. void means the given method does not return any type.i.e., 0 A given method has to be atleast declared void in java since java requires a return for a method. neways i hope i have confused 2 much..
|
Thnx
|
 |
Donald R. Cossitt
buckaroo
Ranch Hand
Joined: Jan 31, 2003
Posts: 401
|
|
|
Check this out.
|
doco
|
 |
 |
|
|
subject: static, private....etc
|
|
|