nupur dhawan

Ranch Hand
+ Follow
since Jun 26, 2002
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 nupur dhawan

Congratulations !! All the best for the next exam.
21 years ago
Congratulations Harsha !!
Were just 2 weeks of 'heavy studying 'sufficient for you to pass the exam ?
is it due to prior experience in this subject ??
if not, what books were good to cover all the exam objectives in your opinion?
any help will be greatly appreciated.
thanks !
Congratulations Anselme, good job !!
21 years ago
Congratulations Leon !! Nice score.
21 years ago
Aryan , make sure you get a good night's sleep !!!
You would want to go to the exam with a clear mind ! All the best !
You are correct, except for one thing....h22 is a valid variable .
In your answer it seems to appear as both valid and invalid, which i'm sure is just a mistake and wanted to point it out to you .
21 years ago
Congratulations to you, very good score!!
I passed my exam jus a couple of days back and am also planning to take up the SCWCD next.
I was curious how you are getting started and prepared for the next exam ....it would help if to gather some useful info this way .
Thanks !!
21 years ago
Congratulations Mark !! Nicely done !
21 years ago
hi Ashish, Thanks for the much needed advice.
i would be very thankful if you could advise me on how to get started with the SCWCD , as i am considering taking that up next.
I am totally confused and would appreciate any advice .
thanks a bunch !!
Nupur.
SCJP2
21 years ago
congratulations Joe !!
I passed my SCJP exam yesterday , and am now looking towards going for the SCWCD :roll:
Since you have done so well , thought you might be the right person to ask for suggestions.
Can you please give me a few tips as to what i should get started with , in order to achieve what you have achieved ??
Appreciate any help , thanks !
21 years ago
Can anyone, give me a few tips as to which would be a better option for me to pursue .....SCJD or SCWCD ?
I am curious as to which one of these will help me learn the stuff better ,
Appreciate any help and suggestions !!
Thanks !!
21 years ago
Thanks to everyone on this forum . It helped me a lot.
Velmurugan's notes are excellent !!Recommend it to everyone preparing for the exam .
21 years ago
Passed the exam this morning, !!
Did'nt get a very high score , but , hey, i passed ,
Now i'm a SCJP tooo !!!
21 years ago
Preetha , byvalue is not a keyword.
If you do a search on JavaRanch for volatile and strictfp , you'll get enough information .
Try it !
21 years ago

Originally posted by shuaib ahmad:
class sample
{
sample(String s)
{
System.out.println("String");
}
sample(Object o)
{
System.out.println("Object");
}
}
class constructor
{
public static void main(String arg[])
{
sample s1=new sample(null);
}
}
y the answer is String , and y it is not declared as error


Null can be a String value as well as an Object value.
When null is passed as an argument, the constructor with the most appropriate version of the argument is executed ... null is most specifically a String .
If the constructor with the string parameter was missing , the other constructor would have been executed, resulting in an object.