PDA

Click to See Complete Forum and Search --> : free java tutorial


bytef
Mar 22nd, 2002, 05:34 PM
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

CaptainPinko
Mar 24th, 2002, 02:42 AM
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 modifieddoesn'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 :rolleyes:

well i hope it helps even its its harsh

Pix
Mar 26th, 2002, 08:58 AM
Nice :)

daveyboy
Mar 27th, 2002, 07:01 AM
s'cool

zmerlinz
Mar 28th, 2002, 08:26 AM
looks very cool and neat :cool: