• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCJP

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Friends,
How r u ? . Dear friends tommorow I am going for the SCJP2 (Sun Certified Java Programmer 2) paper. Please Pray for me and also please tell me some good tips and tricks reguarding the exam, that I can follow there in Examination Center for passing the Exam with a good score. Please hurry up and reply me soon. Waiting for your reply.
bye
Noman Iqbal.
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Iqbal,
Lots of luck, and wishes for u from javaranch family and hope the best for u. Which city in u are and which centre u r choosing what is ur time slot.
luck again.
Nisheeth.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friend,
I m in Karachi (Pakistan) and the center I have selected the name is SYSNET.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friend,
The timmings are 11:00am according to the Pakistan Standard Time.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Friend,
The timmings are 11:00am according to the Pakistan Standard Time. Please give me some tips and tricks for succeding in the Exam. Waiting for your reply.
bye
Noman Iqbal.
 
Nisheeth Kaushal
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Iqbal,

(1) Must take the 15mins. exam tour provided by Prometric so that u may be familiar with the environment.
(2) Don't check any option if u are not sure about it.
So that in the summary it is listed in unanswered questions.
Also there is one more funda it is if u checked any option
and if u choose next option the answer will be stored and after that even if u choose any other option it is not considered only the first time answer will be considered. So, be careful.
(3) Don't procrastinate i mean don't delay the questions. ie. if u know answer of any question and u want to think some more on it then do it right then.
b'coz may be in the end u don't have time to think again with a saturated mind with lots of thoughts.
Take things lightly. Don't forget about exhibit button to see programming questions. Well passing the exam is not tough important thing is this that how much u scored.
Well best of luck and i am sure that u must clear the exam with flying colors.
Bye.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nisheeth,
My name is "Noman". "Iqbal" is my father's name so please call me as "Noman". I understand the instructions given by you thanx alot, ok now please also tell me in detail that what does this "exhibit" button do. Waiting for your reply.
bye
Noman Iqbal.
 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Noman
The Exhibit button is what you'll click to see see the provided code sample. The question will tell you to click the exhibit button. Just remember to scroll the exhibit to see all the code or make sure you scroll down to see all of the options provided if the monitor is small and their may the quite a few options for a question (This tip come from a friend of mine who forgot about scrolling down to see all of the options! in an exam situation this can happen! he still passed)
Also from Vel's notes as provided by Ajith Kallambella
- 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 don�t 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 (if before finally, finally would not execute).
- 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) execute 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.
all the best - Jim
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jim,
Can you please tell me that what is meant by mutable and immutable. Waiting for your reply.
bye
Noman Iqbal.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Jim,
Can U please tell me that what is meant by mutable and immutable, And also that what does the "Yield()" method do in threads. Waiting for your reply.
bye
Noman Iqbal.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Friends,
About the SCJP paper I have listened that when we start the paper, First of all the paper is downloaded to our PC then we solve it and then in the last when we submit it then all the answers goes to the server and then the server tells us the result (Whether pass or fail). Can any one please tell me that what I have listened it correct or not ?. And also please tell me that what technology the Exam uses itself, I mean that whether the exam itself run as an application or applet or servlet, if not then what technology is it using ???. Please reply me soon as I have to give the paper tommorow. Waiting for your reply.
bye
Noman Iqbal.
 
Jim Petersen
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Noman
1. String objects are immutable that is, once an instance from the java.lang.class is constructed it does not change. It may seem to change (either through reassignment or by data modification) but Strings do not change (immutable)
here's a quick eg
public class Stringer{
public static void main(String[] args) {
String s1, s = "aBcDe";
s.toUpperCase();
System.out.println(s); // returns aBcDe still refers to s
s1 = s.toUpperCase(); // note reassingment to s1
System.out.println(s1); // returns ABCDE
}
}

2. The StringBuffer on the other hand implements immutable character strings ie the character string can be changed and the buffer can change dynamically
ie public class Stringer1{
public static void main(String[] args) {
StringBuffer s = new StringBuffer("aBcDe");
s.reverse();
System.out.println(s); // same stringbuffer: returns eDcBa
}
}
3. the yeild() method is static method in the Thread class that makes the calling thread non-runnable (ie the thread scheduler moves the thread that makes the yeild() call from the running to state to the ready-to-run state) if other threads are eligble to run.
Make sure you understand string immutabilty and the various thread methods/states as to score well you'll have to know these concepts very well
You could check through the archives around the Certification study area for much greater clarification on these topics than I can provide
all the best - Jim
 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by noman iqbal:
Can U please tell me that what is meant by mutable and immutable, And also that what does the "Yield()" method do in threads. Waiting for your reply.


Hi!!!
I don't want to make you down, but how do you want to pass the exam if you don't such the basics?
Have you ever read any books about Java?
Have you ever taken any mock exams? (for example from www.jchq.net)
Do you know that you have to get 61% during the exam?
Have a nice day,
Mariusz
 
Jim Petersen
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Noman
On reflection I would agree with Mariusz. I think you should look at postponing your exam util you've done some further study. The questions you asked on were simple, fundamental topics that must be understood thoroughly before attempting the exam.
You may want to try one of Marcus Greene's mock exams to see what level your'e at I reckon you'd need around 80% to feel confident about sitting the SCJP
www.jchq.net
All the best - Jim
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Friends,
How r u ? I m fine and hope the same for U. Dear friends, Congratulations!!! , as yesterday I told you that I m going to give the SCJP2 tommorow, so I went to the Center today and gave the test and acquired 76% marks, I hope that U all have prayed for me. Thanx. This is the first time that I have ever gave a test in a prometric center. Waiting for your reply.
bye
Noman Iqbal.
 
Ranch Hand
Posts: 2596
Android Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Noman,
All the best for your future.
Regards,
- Manish
 
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Noman.
--Farooq
 
Jim Petersen
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Noman
Well done!
All the best - Jim
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Congrats Noman.
- Yo
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanx very much dear friends.
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EXCELLENT JOB NOMAN IQBAL.
WISH YOU BEST OF LUCK.
 
Nisheeth Kaushal
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Noman,
Congrats
Well Done
Tell us something abt the exam and questions on threads and overloading, overriding and awt components.
Actually, the questions related to awt. Whether the questions other than questions based on event listners, layout managers and components - container classes, does any programming question were asked on canvas, panel, etc. abstract subclasses on component class.
 
Noman Iqbal
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Dear Nisheeth,
The paper was tough questions was even difficult and hard to remember. U can think it like you are solving the mocks in the form of simulator.
bye
Noman Iqbal.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic