[ SCJP 6.0 - 90% ] , JSP, Servlets and Learning EJB.
Try out the programs using a TextEditor. Textpad - Java 6 api
Joined: Jul 17, 2012
Nitish Bangera wrote:No
One more thing... is K&B book complete for giving OCJP exam... i mean examples given in Khalid mughal scjp 6 book are way harder and complex than K&B book..
(In K&B book - eg- for inner classes it is just mentioned that you can apply so-so 7 modifiers to inner classes, but in khalid it is mentioned specifically that "abstract private" is only applicable to inner classes)
Does learning syntax and rules from K&B book enough to score in the exam or
can syntax tricks and loopholes not mentioned in K&B book appear in the exam??
Well i would say think on what you read. K&B is more than enough to understand most of the concepts. As for Inner classes, they have features which can be applied to instance variables as well as features that can be applied to normal classes. Yes "abstract private" is only applicable for inner classes and its not applicable for Normal classes. The "abstract" keyword is not for instance variables. When you declare an inner class as "abstract private", it says you cannot instantiate the inner class and its a private entity of the outer class.