Vidya Krishnamurthy

Greenhorn
+ Follow
since Mar 27, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vidya Krishnamurthy

Thank you all for your wishes.
Rajashree, I did not get any questions on any of the subclasses of components. The questions were only on Layout Managers. Something like, which layout manager is suitable for a particular scenario and another one was a code question, which asked if the frame was resized what would happen to the components in the frame.
Rashmi, you can find jane's notes in the following site. http://www.janeg.ca/index.html

22 years ago
yes, the test tells you how many correct choices are there for a given question. Good luck.
22 years ago
Hi all,
I passed my SCJP today . I wouldn't have done it without this site. Though i haven't been active in any of the forum discussions, i have been visiting this site regularly. my thanks to Velumurguan periasamy for his excellent notes. My special thanks to Jane Griscti for her study notes, especially on I/O which helped me to get 100% in that section.
RHE, javaranch, JQ+ and Marcus Green were the only resources that I used. I got 79%. I was averaging about 75% in JQ+ tests, which is almost the same score i got in the exam.
I got 8-10 questions on I/O
5-6 questions on threads
1 question on inner class
6-8 questions on Overloading and Overriding
1 question on Garbage collector
3 questions on awt and eventhandling
2 questions on java.util
5-6 on java.lang (i had to type the answers for 2)

No questions on Conversion and casting, surprisingly. One question on "is a" relationship. I had 4 questions for which i had to type answers. 2 on String and string buffer and one on Exception handling. i typed the answers WITHOUT the quotes. i did the right thing i guess, as i got 100% on java.lang and Exception handling.
I/O questions were only on constructors. Watch out for tricky questions. one question i got, looked like it was on exception handling but was actually testing on modifiers (a static method had a call to a non-static method).
Sorry for such a lengthy post but i hope this helps others who are preparing for the exam.

22 years ago
The voucher is valid for one year. You need the Voucher number to register for the exam. All the best
22 years ago
Can someone please tell me the procedure to register for the Java 2 Programmer Certification? If I want to give my exam in 2nd week of August when should i register? Thanks
Kapil, adding to what Pawan said, if you have assigned
s.concat(s2) to s ( s = s.concat(s2)), System.out.println(s), would then display "HelloJava".
If the Exception is caught, the method doesn't terminate and the statements following the finally block gets executed. if the exception is not caught, then the finally block gets executed and the method terminates. In your example, as the exception is caught, the lines following the finally block gets executed. Hope this helps
Francisco, In both the examples, you are passing a copy of reference to the array i. In example 1, the change_i method uses the passed reference, to change the value of the first element (i[0]) in the array. hence the change is visible in the calling method Compare.
Jaikumar, Please look at the following site for rules governing casting.
http://java.sun.com/docs/books/jls/first_edition/html/5.doc.html#20232
Jaikumar, if there is a cast, the compiler checks if either the RHS extends LHS or LHS extends RHS. This is one of the rules for casting. x is of type A and y is of type B. B extends A. So line 11 passes the compiler test. But it gives a runtime error as you cannot assign a parent class type to a subclass type. Hope this helps.
I think the right answer is 1. the only object that is eligible for garbage collection is "Nick". "Jason" is referred by new name at line A.
Thanks Ajith. It sure did help !
Is there any method to compare 2 StringBuffer objects? Both == and equals method return false.
Hi Nandini,
I think e is the correct answer. Though anobj is assigned to null, string sample is still referred by locobj. Since locobj goes out of scope after line 11 (remember, locobj and anobj are local variables) e is the correct answer.