Kedar Savarkar

Greenhorn
+ Follow
since May 02, 2005
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 Kedar Savarkar

Thanks for all the compliments guys.

-Kedar
18 years ago
Thanks to Javaranch and the ever eager helpful members I managed to secure 90% in the exam. I am grateful to K and B for the great book as well as to Khalid Mughal as well.

Best Regards
-Kedar
18 years ago
I am trying to develop a print routine for a Java program for Mac. Since javax.print is not supported before Tiger on Mac I have to use java.awt.Print.
I have not found any good tutorial regarding printing files . Can anyone help me get started. ?

Thanks a lot.
[ July 16, 2005: Message edited by: Kedar Savarkar ]
18 years ago

Originally posted by Rudy Harianto:
hi Kedar,

what kind of question do you have on this objective:

5.3 Describe the purpose and types of classes for the following Java packages: java.awt, javax.swing, java.io, java.net, java.util.

thanks.



Very elementary questions. Dealing with recognizing the purpose of each and in some you had to recognize to which package function belongs to.
18 years ago

Originally posted by Vivek Nidhi:
Hi,

I want to know how deep we want to study about MIDLETS? any suggestions???




Not very deep. Issues related with portability of applications written as midlets , there basic use something on these lines would be enough.
18 years ago
Hi guys,

I took the SCJA yesterday. I don't have much experience in Server Side Java or UML but good exp in Core Java. Following is what I got.

approx 30-35 questions on UML , OO concepts
4 on Enums
1 on programming to interface
1 on threading related with GUI ( No SCJP level questions here)
around 30 questions on Client/Server and other technologies
Rest of the questions on Core Java ( Enhanced for loop included )
No inner classes , Collections , multithreading
1 special kind of question

Some of the UML questions were a bit tricky.But Dave Wood's UML tutorial covers all of them. ( Thanks Dave) . Also I found Enum questions a bit hard. The questions on J2ee and other technologies are straight forward. No code examples involved. However 2 questions on MIDLETS were difficult.

Overall the exam was a good experience.

Best Regards
-Kedar
[ June 29, 2005: Message edited by: Kedar Savarkar ]
18 years ago
Thanks for the replies guys. Takes away the heat off me.
[ June 26, 2005: Message edited by: Kedar Savarkar ]
18 years ago
I am appearing for SCJA tomorrow. Just wondering whether stuff on Inner Classes , Multithreading and Collections might come.( although the objectives do not mention it clearly). Can anyone who has taken the exam help me clarify this ?

Best Regards
-Kedar.
18 years ago
Thanks for the reply Kai.
18 years ago
Hi Ariel and Mark,
The objectives explicitly mention about Enums from J2se 5.0. On the actual exams you guys have given was there any stuff like generics , autoboxing , varargs etc pertaining to Tiger ?
18 years ago
Hi Ariel and Mark,
Thanks for sharing your experiences. They are of immense help to us.
I have one doubt. For technologies like RMI, JMS, EJB or client -server in general were there any code examples on the exam ?
18 years ago
Thank you all for the prompt reply.
Are Inner classes on the new SCJP 5.0. I can't make out from the objectives clearly.?

Best Regards
Lalita,

My explanation seems to be wrong. After looking at your code it is clear that the NPE is thrown only when the overridden toString() is called. But I wonder why ?

Another thing

System.out.println(null); //Compile Time error Will produce NPE

final Test01 t1 = null;
System.out.println(t1); // No Compile time error. Why ?


As t1 is a compile time constant the behavior should be same as above since compiler would substitute null for t1 in the SOP() statement.
//System.out.println(t1); // Will produce NullPointerException

Here the effect is same as System.out.println(null).Actual null object is returned not the string "null"
When the commented line is called it calls the overloaded method
System.out.println(Object). In all other cases System.out.println(String)
is called.