rajesh villuri

Greenhorn
+ Follow
since Apr 06, 2013
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 rajesh villuri

for this below java program why output is shown like this?

public class constr {

private static constr ct;

public constr(char c,int... x)
{
System.out.println(c);
System.out.println(x);
}

public static void main(String[] args) {
ct = new constr('f',1,2,3);
}

}



output:
f
[I@1e41869

10 years ago
how many ways to create an object in java ? , and also refer me a book about this topic
10 years ago
thank you ritchie
10 years ago
i typed this program in netbeans

in netbeans, i am getting like this error for all programs

please help ,

Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - missing method body, or declare abstract
at widget.Widget.<init>(Widget.java:10)
at widget.Widget.main(Widget.java:16)
Java Result: 1
11 years ago