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.