Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Aakanksha Arora

Ranch Hand
+ Follow
since Jun 29, 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 Aakanksha Arora

this is a very sad state of affairs... reminds me of Mandal days. sometimes i wonder to what extent these politicians can go to please their target voters.
18 years ago
Hey I am interested too. Alokesh: if u r ready to share with me do lemme know. we can work out a deal.
Thanx,
Aakanksha
Yeh with this last post I became a ranch hand.
Good observation....i will rectify the same. Thanx
Yes, all methods in an interface are implicitly abstract and public.
According to the Java Tutorial at their site, you may not use the private and protected specifiers when declaring members of an interface.
Hope this helps,
Aakanksha
Thanks. I understand it now
Here is a sample code:
class Test {
static int x;

Test() {}

Test(int x) {
super();
System.out.println(x++);
}
public static void main(String [] args) {
System.out.println(new Test(1).x);
}
}
The output is 1 and 0. Why?
x is static variable so the output should be 1 and 1..but is not?
Can anyone explain pls.
thanx in advance,
Aakanksha
relax and view the questions carefully u will see the reasons urself
Now Abdul this is unfair....one should lean to accept criticism gracefully...u asked for peoples views, they are entitled to their opinion isn't it?
Be a sport ya...
Aakanksha
when i was a kid i used to thinks babies are made in a factory...when my brother was born i did'nt like hime too much and used to tell my mom please exchange him for another one....
21 years ago