Help coderanch get a
new server
by contributing to the fundraiser

Anitha Srinivasan

Ranch Hand
+ Follow
since Nov 07, 2006
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 Anitha Srinivasan

what is hashcode() and when it is used? can someone explain this .i am confused.
Thanks.

Can i reassign a class variable to final class ref?

for example,
class A{

int x=0;}

class B extends class A{
int x =1;};

public static void main(args []){
final A ins=new A();
ins.x=5;
}




Wonderful Joe. This is what i was looking for . That link really helped me.

so...
1. if we override a static method compiler doesn't throw error. It is actually hiding a class method not overriding static method.
2. static method doesn't have runtime polymorphism
3. instance method have runtime polymorphism

A ins = new B();

While the reference is pointing to a B, as far as the JVM is concerned ins is an A reference variable.


So ins.b() will throw a compilation error? since ins is a A reference variable , A does not have method b.

one more doubt

final A ins =new A();
ins.x=5;

Here i am creating a final class reference ins. And i am trying to assign ins.x=5 ; can i assign a value for final class variable ?


Thanks, ANitha

I am not asking about the syntax i am talking about the concept ,
1. can we override a static method ?
2. If a super class object ref the subclass what will be the runtime reference of the object?
thanks
Please look at the code and ans explain me

Class A{
public static void method a{
int x=1;}

}
class B extends A {
public static void method a{
int x=0;
}

public static metod b{
}

public static void main{
A ins = new B();
ins.a();
ins.b();
s.o.p(ins.x);

}

1. Is this code compile ? can you override the static method?
2. ins.a() will compile ?
3.ins.b() will compile ?
4. what is ins.x value ?


Can anyone reply for my issue?
Thanks,
Anitha
17 years ago
Hi,
I took SCWCD exam in Dec 2006 and i am waiting for the certificate. I have registered in the certification manager site and it shows passed but the thing is I took SCJP 1.4 in 2003 and didn't update my data's in their database so my status shows to earn SCWCD I need to complete SCJP .
How do I communicate Sun I have SCJP 1.4 in 2003. Is the SCJP expiration date matters to earn SCWCD certificate?

Here is my chain of queries about this ,
https://coderanch.com/t/141573/sr/certification/certificate

I need help from someone since I am not getting answers from sun they take time to answer and I don't know how to update my SCJP 1.4 data's since I took it in 2003.

Thanks ,
Anitha
17 years ago
Thanks.
I got the reply saying that according to the i-7 Cert Tracker database http://i7lp.integral7.com/sun, the requirements have not been met to earn certification. It appears that you still need to take the Sun Certified Programmer for the Java 2 Platform exam to be certified.

They think i may be having more than one ID number ? I donot know about it and gave reply with all my details.I have only one candidate ID no. if you know anything about it let me know.
Thanks,
Anitha
17 years ago
Thanks Pushkar. I am waiting for the response lets see.
Do you know any customer service no to contact sun regarding certification issues?
Thanks,
Anitha
17 years ago
Thanks Pushkar.
Yes I am able to see my result as passed in the History details but in the Fulfillment section I couldn't see any event history.
I was talking about the certification process link has the check boxes there it shows enrolled. Do I need to do something in that section too?
Thank you so much for your detailed mail.
Anitha
17 years ago
Thank you so much Pushkar.
Yes I am able to login and in the certification process link shows enrolled not certified. I have sent a mail to suncert@thomson.com and didn't get any response. Again today sent a mail to SunCert@Prometric.com with all my details.
Thanks for your info. its really appreciated.
Anitha
17 years ago
Thanks for your response. I went to the site and i couldn't login with my prometric id in this site, they say sent a mail to SunCert@Prometric.com..
https://www.certmanager.net/sun_assignment/assignment.html

I have sent 2 mails to that id and didn't get any response. My doubt is after completing the exam I suppose to get the certificate why so many hazel to get a certificate. I don't understand whats the procedure can anyone help me out how to proceed with this issue.

Thanks,
Anitha
17 years ago
Hi
I have cleared SCWCD on Dec 09th 06 in Seattle. I didn't receive my certification yet. What do i need to do to receive the certification ASAP.
I am able login in http://www.certmanager.net/sun and in certification process it shows only enrolled but in the History able to see my result. Could someone help me to get the certification soon would be really great.

Thanks,
Anitha
17 years ago
Thank you all for the wishes.
All the best.

Thanks,
Anitha