GK

Greenhorn
+ Follow
since Jan 25, 2001
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 GK

I have Windows 2000 Server as OS,Jdk1.3.
I have a RMIRegistry(Written as an application).
I run my application from Windows scheduleri.e when ever the computer boots my program runs in background but if I log off my machine and login again my registry stops working...
What could be the problem?
GUNJAN
20 years ago
Can any one tell me how can I know machine's gateway in Java?

Gunjan
i have two jsp - 1.jsp and 2.jsp
1.jsp
-----
out.println("b4 forward");
pageContext("2.jsp");
out.println("after forward");
2.jsp
-----
out.println("in 2.jsp");

what will be the output if i run 1.jsp
Gunjan
20 years ago
Is forward method in pagecontext is supposed to append to response object ???

Gunjan
20 years ago
How do I know thru servets if a user closes its browser window?
Gunjan
20 years ago
Thanx peter but dont be harsh on wordings please

Gunjan
20 years ago
shweta agarwal - ur solution didnt work cause it gives me number format exception (Option 1)

Gunjan
20 years ago
is the value for 'C' and 'c' the same?

Gunjan
20 years ago
How to get the int value for string "C";
Gunjan
20 years ago
how can i know the drive type(removable,hard...) thru java
how can i know the drive type(removable,hard...) thru java
20 years ago
Hi all
I meant 3 applications running concurrently containing main in it ...

Gunjan
21 years ago
When I am running two java programs simultaneously does the same JVM does the jod or there are 2 instance of the JVM.
Gunjan
21 years ago

Originally posted by gunjan kuwadia:
Which of the following answers are correct n y???


Can u explain me???
GUNJAN
Which of the following answers are correct n y???
----------------------
class AA extends Object implements I1
{
}
class BB extends AA implements I2
{
}
interface I1
{
}
interface I2
{
}
--------
Given
AA a = new AA();
BB b = new BB();
------------
OPTIONS
1)Object o = a;
I1 i1 = o;
2)Object o = a;
I1 i1 = (I1)o;
3)Object o = a;
I2 i2 = (I2)a;
4)Object o = b;
I2 i2 = o;
---------
GUNJAN