Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2007

Tip: Looking for answers? Try searching our database.

newbie in Java

Thread view: 
Mike - 17 Apr 2007 04:01 GMT
Hi

I am a newbie in Java.
I want to learn about "static", especially static class.
Where is it in the "http://java.sun.com/docs/books/tutorial/java/
TOC.html"?

I find this tutorial usually introducing many things before elemental
ones have been introduced.
Furthermore, there's not enough simple example which is complete.
Are there more examples offered by SUN java tutorial?

thanks.

Mike
scifluent@gmail.com - 17 Apr 2007 04:19 GMT
You may want to check out:

http://math.hws.edu/javanotes/

I found his approach to teaching Java most helpful.

In my experience, the concept of 'static' didn't make much sense until
I had immersed myself in Object Oriented Programming for a few months
and I needed static methods and variables.  Keep at it...  you'll get
the 'Oh' moment.

> Hi
>
[quoted text clipped - 11 lines]
>
> Mike
scifluent@gmail.com - 17 Apr 2007 04:22 GMT
another lecture that isn't as complete, but does provide examples.

http://www.seas.gwu.edu/~simhaweb/java/lectures/
Mike - 17 Apr 2007 07:26 GMT
On 4月17日, 上午11時22分, sciflu...@gmail.com wrote:
> another lecture that isn't as complete, but does provide examples.
>
> http://www.seas.gwu.edu/~simhaweb/java/lectures/

Again, in its Screen I/O  section, he also uses try ... catch.....
which he didn't introduce before.

Mike
Mark Space - 17 Apr 2007 05:47 GMT
> Hi
>
> I am a newbie in Java.
> I want to learn about "static", especially static class.

I don't think Java has a static class type, does it?

Java has static variables and static methods, but no static class.
Patricia Shanahan - 17 Apr 2007 06:05 GMT
>> Hi
>>
[quoted text clipped - 4 lines]
>
> Java has static variables and static methods, but no static class.

What about non-inner member classes?

Patricia
Mark Space - 17 Apr 2007 23:10 GMT
>> I don't think Java has a static class type, does it?
>>
>> Java has static variables and static methods, but no static class.
>
> What about non-inner member classes?

Oops!  I totally forgot about those (I don't use 'em much myself).  Good
catch.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.