swetha shah

Greenhorn
+ Follow
since Aug 21, 2003
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 swetha shah

Hi all
Can anyone tell me what is the best book we can get in India for Servlets and JSP.(If possible how much it would cost)
Do we get Murach's Java Servlets and JSP in india.
Regards
SS
20 years ago
Hi
Just now i started learning Servlets.I have J2sdk1.4.2_01 and JWSDP1.2.How should i set the classpath to work with servlets.
Thanks in advance
Swetha
20 years ago
Hi
Both float and double are signed data types in java.
The signature of main method to start execution is

public static void main(String a[]).
The return type of main is always void.
Regards
S S
Hi all
Where can i get mock exams related to AWT for scjp1.2.
Regards
S S
class A {
void m1(A a) {System.out.print("A");}
}
class B extends A {
void m1(B b) {System.out.print("B");}
}
class C extends B {
void m1(C c) {System.out.print("C");}
}
class D {
public static void main(String[] args) {
A a1 = new A();
B b1 = new B();
C c1 = new C();
A c2 = new B();
c2.m1(a1);
c2.m1(b1);
c2.m1(c1);
}
}
In the above code result is "AAA".
I thought it would be "ABC" .
Though c2 is an object of A it is given a reference of C.So it should act as C object at runtime.Can anyone explain.

thanks
ss
Hi Anupam
Thanks for the link.
Thanks
ss
Hi all
code:
public class Inc{
public static void main(String argv[]){
int i=0;
i=i++;
System.out.println(i);

}
}
The output is 0 .I expected it to be 1 as i is incremented.can u explain.
thanks
ss