asha parek

Greenhorn
+ Follow
since Sep 07, 2011
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 asha parek

class OperatorCon
{
public static void main(String[]a)
{
int x=10;
x=+2;
System.out.println(x);
}
}


This code results value of x as 2, why? is x=+2; valid?
Hi...
Is it possible to make button or box to be popped up when we click on one button?
Thanks alot Seetharaman
Thank you Ananth
Any one please give any links to read about Generics...

The test question is:
Which, inserted independently at line 6, will compile? (Choose all that apply.)
A. static void doStuff(int... doArgs) { }
B. static void doStuff(int[] doArgs) { }
C. static void doStuff(int doArgs...) { }
D. static void doStuff(int... doArgs, int y) { }
E. static void doStuff(int x, int... doArgs) { }


Why option D is not correct?