Charu Murali

Ranch Hand
+ Follow
since Jul 12, 2002
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 Charu Murali

hi,
I am totally new to DB2. I am planning to give 512. But I know the concepts behing general RDBMS. From where I have to start? Please help me.

Thanks
Charu
Friends, I have cleared SCJP1.2 today with the score of 81%. Thanks very much for the members in this forum. This site was really helpful for me.
I am planning to move on to developer certification next.
Thanks
Charu
17 years ago
Yes. Java API is the best one. You can see this link: http://java.sun.com/j2se/1.4/docs/api/java/lang/package-tree.html
HTH.
Charu
oh I am sorry. I missed the point that the subclass is in different package.
Sine Math.random() function can return values from 0.0(inclusive) to 1.0(exclusive) we can not determine the input value for Math.round() function. So the ans is it is impossible to say.

Correct me if I am wrong.
Charu.
Good job Binu! Congrats!!!
17 years ago


I think A is right, for the subclass couldn't
see the zzz in it's superclass, so the subclass
can define the function zzz freely, isn't it?



if final void zzz() in baseclass is private then we can include void zzz() in subclass for the same reason you have given. Since it is final A could not be the answer

HTH
Charu
[ August 22, 2002: Message edited by: Charu Murali ]
Hi,
Is there any difference between overriding a start method and overriding a run method? In Marcus Green Exam#3, there was a qn.. like

And the answer is 3. (ie) first0, first1, second0, second1.

In the explanation it was given as, if we want to get mixed up reslts like first0, second1... we should have overridden the run() method.
Can any one explain me.

Thanks
Charu
According to JLS ~X = -X-1. Here X = 0. So, -0-1 is -1. Correct me if I am wrong.
Yes... I has the same doubt :roll: it is accessible when court was declared static. But here it is not static. So the static main method can not access court.


11111111 11111111
If the above is interpreted as a 16 bit two's compliment value, then it is -1. However, it is interpreted as a 16 bit unsigned value then it is 65535.


Dan, if 11111111 11111111 is converted to 2's complement value we get 00000000 00000001. Can you explain me how we get 65535 here? I think these questions are very very basic. Please bear with me.
Charu
Thanks very much Dan and Dinesh. Now I am very clear about parseByte().

Charu.
Can anyone explain me what exactly the parseByte() and valueOf() methods of Byte class do?
when I compiled the following code,
class Example
{
public static void main(String args[])
{
System.out.println(Byte.parseByte("10",8));
}
}
I get 8 as answer. If I change any values in the String parameter of the method I get a NumberFormatException. Similar thing happens for valueOf() method. Please clarify my doubt.
Thanks
Charu