• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

Resources that helped me

Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello folks,
Here are some useful resources:
1. http://www.geocities.com/SiliconValley/Orchard/9362/java/javacert/Desboro.htm
2. http://www.absolutejava.com/articles/java-tidbits.html
3. http://www.angelfire.com/or/abhilash/Main.html
(Get the answer explanations from the author.)
4. Maha's discussions on JavaRanch off http://www.javaranch.com/maha/Discussions/discussions.html
Maha's discussions are very good and can help clear one's Java fundamentals. Here are some areas where I saw some tough questions:
1. Inner classes
2. Threads(know the wait(), notify() and the repercussions of calling them well.
I passed the SCJP exam yesterday and it sure feels great to be a Sun Certified Java Programmer. I did not know much about Java(other than it started with J) until I started studying about 3-4 weeks back. I went through RHE, JQPlus and DigitalThink.com towards the end. I also took the JavaRanch mock exam, Marcus Green's 3 mock exams and Pony's mocks. The mocks were much simpler than the actual exam, but were a good gauge to measure my Java knowledge.

Though "Declarations & Access Control" and "Language Fundamentals" were my strongest sections, I did better in several other sections. I got a 100% on java.util, java.lang and Garbage Collection. There were some tough questions on Threads(at least 7) and Inner Classes(which I had never liked). RHE was not enough for Threads, so I learned Threads from DigitalThink.com(though it is not free for everyone). I got 71% on Threads which I am happy with, considering the tough questions that I saw on this section.
There were some questions that seemed repetitive, like Strings have a default value of "null", and there were multiple questions that tested whether I knew this.
Good luck to all other Java aspiring programmers!

Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dilshad, Congratulations! How did you manage to pass SCJP after 4 weeks of studying?! Do you work as a programmer right now? I'm new to Java, and I decided to go for a certification to get an entry level position in programming, but the more I study the more overwhelming is how much I don't know. Your accomplishment is a great encouragement to those of us that still have to get there. Congrats again!
Dilshad Syed
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for your wishes Kamilla!
I work as a programmer currently. My knowledge of JavaScript and C helped me with the basic language constructs. I put in several hours in the last 3 weeks and at times got the feeling that 3-4 weeks would not be enough. Anyway, I had to take the exam because of certain reasons and I am glad to have done well.
I think the exam really tests one's knowledge on many basic things. Here's a checklist that helped me:
Two public classes in the same file.
Main method calling a non-static method.
Methods with the same name as the constructor(s).
Thread initiation with classes that dont have a run() method.
Local inner classes trying to access non-final vars.
Case statements with values out of permissible range.
Math class being an option for immutable classes !!
instanceOf is not same as instanceof
Private constructors
An assignment statement which looks like a comparison if ( a=true)...
System.exit() in try-catch-finally blocks.
Uninitialized variable references with no path of proper initialization.
Order of try-catch-finally blocks matters.
main() can be declared final.
-0.0 == 0.0 is true.
A class without abstract methods can still be declared abstract.
RandomAccessFile descends from Object and implements DataInput and DataOutput.
Map doesnot implement Collection.
Dictionary is a class, not an interface.
Collection is an Interface where as Collections is a helper class.
Class declarations can come in any order ( derived first, base next etc. ).
Forward references to variables gives compiler error.
Multi dimensional arrays can be sparce ie., if you imagine the array as a matrix, every row need not have the same number of columns.
Arrays, whether local or class-level, are always initialized,
Strings are initialized to null, not empty string.
An empty string is NOT the same as a null string.
A declaration cannot be labelled.
continue must be in a loop( for, do , while ). It cannot appear in case constructs.
Primitive array types can never be assigned to each other, eventhough the primitives themselves can be assigned. ie., ArrayofLongPrimitives = ArrayofIntegerPrimitives gives compiler error eventhough longvar = intvar is perfectly valid.
A constructor can throw any exception.
Initilializer blocks are executed in the order of declaration.
Instance initializer(s) gets executed ONLY IF the objects are constructed.
All comparisons involving NaN and a non-Nan would always result false.
Default type of a numeric literal with a decimal point is double.
integer (and long ) operations / and % can throw ArithmeticException while float / and % will never, even in case of division by zero.
== gives compiler error if the operands are cast-incompatible.
You can never cast objects of sibling classes( sharing the same parent ), even with an explicit cast.
.equals returns false if the object types are different. It does not raise a compiler error.
No inner class can have a static member.
File class has NO methods to deal with the contents of the file.
InputStream and OutputStream are abstract classes, while DataInput and DataOutput are interfaces.
Good luck!
kamilla miesak
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
that's what I mean when I say "overwhelming"
Always! Wait. Never. Shut up. Look at this tiny ad.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic