|
-
Mar 22nd, 2002, 05:34 PM
#1
Thread Starter
New Member
free java tutorial
hi,
im just creating a java tutorial. It helps to exam java programer 1.2 by sun. pls check it and tell me your opinions.
www.byteFACULTY.com
cu
bytef
-
Mar 24th, 2002, 02:42 AM
#2
Hyperactive Member
learned some stuff and remebered some **** i'd forgotten
haven't done java in like 2 months so give me a break if i'm wrong
not sure if the word "accessed" is what youa re looking for, wrong tense too...
"accessed" misspelt "accesed" several times
better explanation of "transient" and "synchronized" needed
[code]
class AnyException(parameter) extends Exception{
//statements
}[/cdoe]
are you sure paramaters are passed like that to an exception? shouldn't that be done at the exception's constructor(s)?
java.lang.Throwable must be imported
not true, nothing ever needs to be imported, you can reference by its full package\class name if you wanted too...
i didn't see any mention that only exceptions need to be tried and declared in method headers but NOT errors
miscellaneous spelling errors : eg. "tread" instead of "thread"
grammar
access modifier like public or friendly
yet you stated earlier than "friendly" is not a valid java modifier
might want to mention that all classes extend java.lang.Object by default...(nvrmnd, but might want to mention it in the class section neway)
mention that constructors aren't inherited (idon't think neway)
some ambiguous phrases: "the inner class is the same as any other class, but it is declared inside any class"
never heard of anonymous classes before... could you give more info?
friendly methods may be overridden only by friendly, protected or public methods
i believe the java term is "package" not "friendly", it's not C\C++ don't talk as if it is
more info on synchronizing perhaps?
i believe there is als a Short and Byte class in addition to the bigger ones...
the StringBuffer class represents immutable strings these can be modified
doesn't "immutable" mean can't be changed or is it like inflammable but then you have a problem either way
- the String class represents immutable strings- all methods dont modify strings, new strings are created
...
then i got too tired, sorry
well i hope it helps even its its harsh
"There are only two things that are infinite. The universe and human stupidity... and the universe I'm not sure about." - Einstein
If you are programming in Java use www.NetBeans.org
-
Mar 26th, 2002, 08:58 AM
#3
-
Mar 27th, 2002, 07:01 AM
#4
Member
-
Mar 28th, 2002, 08:26 AM
#5
Fanatic Member
looks very cool and neat
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
[ Galahtech.com] | [ My Site] | [ Fishsponge] | [ UnixForum.co.uk]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|