File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Just some fat trimming =) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Just some fat trimming =)" Watch "Just some fat trimming =)" New topic
Author

Just some fat trimming =)

Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213
All,
This is a compiliation of the stuff I found very usefull in this thread, that's been digested to a last minute study guide, this is the beta version and will probably get finalized on Saturday, so if there is any interest in the final version, just post it here and I will be glad to post it again.
My goal for this is to read it just before I go to the exam and then again before I take the exam (outside the room ofcourse)
Last Minute Study Notes:
1.When throwing an exception in main make sure there is a try / catch block or a throws clause.
2.A program ends when all non-daemon threads end
3.Constructors are not inherited
4.Main method calling a non static method
5.2 public classes in the same file
6.Local inner classes trying to access not final variables
7.Math class is not immutable
8.instanceOf is not the same as instanceof
9.a missing return statement is a compile time error
10.You cannot do int myArray[5]
11.You cannot do int []myArray = int[5] {3,3,3,3,3}
12.You cannot add a primitive to a vector
13.You cannot use a primitive where an object is expected (for example the .equals method)
14.Watch for local variables declared within a try / catch block
15.Order of try / catch finally block matters
16.-0.0 == 0.0 is true
17.A class without abstract methods can still be declared abstract
18.Collection is an interface
19.Collections is a helper class
20.continue must appear in a loop (for, do, while)
21.Each overloaded method must take a unique list of argument types. Even differences in the ordering of arguments is sufficient to distinguish two methods.
22.Inner classes
Can access all instance variables of the enclosing classes including static, private vars
Static Inner Classes can only access static variables and methods of enclosing classes
Inner classes inside methods can access only final variables of that method and any variables that would be available to that method anyways
-Matt


-Matt<br /> SCJP2<br /> SCJD
Matt Ghiold
Ranch Hand

Joined: Feb 24, 2002
Posts: 213
Oops, wrong thread, but I am to lazy to fix =(
-Matt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Just some fat trimming =)
 
Similar Threads
Cleared SCJP 5 with 78%
Study Notes from a person who secured 100%.
Traps to be aware of in any SCJP test !!!!! :)
Clear Understanding of Inner Class..
Wanna know answers to the tips given in javaranch