Win a copy of High Performance Python for Data Analytics this week in the Python forum!

Shilpa Bhargava

Ranch Hand
+ Follow
since Sep 15, 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 Shilpa Bhargava

Hi There,

I have a parent site and a child site both hosted on different servers and both have different session timeouts !User navigates from parent to child...

The problem is when the user is browsing on the child site, how can a timeout of the parent site be avoided ??

No Javascript !

Please help !!
16 years ago
Hi,
How to convert a date in Julian format to the standard Gregorian format ?
Pls help :roll:
Rgds,
Shilpa
17 years ago
Hi ,
I want to use JAVA Mail with Lotus Domino , which cannot be made SMTP enabled for some reasons.
Is there any other way through which we can still use JAVA mail
Thanks !!
18 years ago
Hey nobody for this Q ???
Hi,
I have a thread which counts from say 1 to 1 million and it takes 60 seconds to do so.
If i use four threads to do the same task , will the time be less or be the same ? According to me it should be the same since they are sharing the same CPU.
Now if I use four threads on four different CPUs, should the time reduce to 15 secs ? since all thread will run together (in the real sense, no sharing of CPU)
Can ne one please explain !!
Thanks
Hey Folks at JAVA Ranch,
How do u decide on members being a greenhorn or a ranch hand..or for that matter anything else ??
18 years ago
Thanks Jose,Thanks Dan !
So does this mean that NaN can be taken as an exceptional case wherein the even if the bit representation is not same, the equals method will still return true ???

Originally posted by Dan Chisholm:
The Double.equals method then tests the equality of the bit representations of the values. The equals method will return true if the bit representations are the same even if the bit layout represents NaN.


Thanks Dan,
Since NaN will never be equal to itself, why are their bit representation same ??
Can you please explain a little further..
[ November 19, 2002: Message edited by: Shilpa Bhargava ]
The following code will print
1: Double a = new Double(Double.NaN);
2: Double b = new Double(Double.NaN);
3:
4: if( Double.NaN == Double.NaN )
5: System.out.println("True");
6: else
7: System.out.println("False");
8:
9: if( a.equals(b) )
10: System.out.println("True");
11: else
12: System.out.println("False");
A) True
True
B) True
False
C) False
True
D) False
False
Surprisingly the asnwer is C when it should have been the reverse.
Can ne one pls explain

Thanks
Hi Guys,
I found this Q on 4tests.com
In the following code, which is the earliest statement, where the object originally held in e, may be garbage collected:

1.public class Test {
2.public static void main (String args []) {
3.Employee e = new Employee("Bob", 48);
4.e.calculatePay();
5.System.out.println(e.printDetails());
6.e = null;
7.e = new Employee("Denise", 36);
8.e.calculatePay();
9.System.out.println(e.printDetails());
10.}
11.}

Options are
a.Line 7
b.Line 8
c.Line 10
d.Line 11
e.Never
I think the answer is 6 !! but the one mentioned is 7 !!
Please help
Hi,
Can anyone please guide me to a good swing tutorial WITH EXAMPLES.The sun's tutorial is all too confusing !!
Thanks !
Shilpa
18 years ago
java.security.AccessControlExcpetion ....
proxy cannot resolve !!
18 years ago

Originally posted by <Eastern Boy>:

Impressions... & that too for a lady .No need for them. I prefer the way i am and to be honest i do make good impressions when i act natural .



O La la ...look at that ....who is talking!!
18 years ago
Hey,
Did ne one try out the new beta test ??
When I try to do so, I get a class not found exception......
18 years ago