Amrita Chaurasia

Greenhorn
+ Follow
since Jul 04, 2009
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 Amrita Chaurasia

oh I got the mistake..
I had my own Integer Class that existed in classpath
so it dint take java.lang.Integer class
14 years ago
while trying to create an instance of Integer Class..the compiler says there in no such constructor
Integer i = new Integer(1);

but there is no problem with other wrapper classes..
what should i do
14 years ago
I bought a SCJP exam voucher from NIIT prometric center but dont know whether it is for SCJP 5 or SCJP 6. I forgot to ask this from NIIT.
It just contains the key and expiration date...Can anybody help how do i know it is for SCJP 5 or 6
Can a Fresher appear for SCJP with no job experience having a good command in java technology?
Will it be beneficial when looking for jobs in java.

class C
{
public static void main(String a[])
{
C c1=new C();
C c2=m1(c1);
C c3=new C();
c2=c3; //6
anothermethod();
}
static C m1(C ob1){
ob1 =new C();
return ob1;
}
}
After line 6, how many objects are eligible for garbage collection?


I got this question from examsguide.com free sample questions...
please help
14 years ago
class C
{
public static void main(String a[])
{
C c1=new C();
C c2=m1(c1);
C c3=new C();
c2=c3; //6
anothermethod();
}
static C m1(C ob1){
ob1 =new C();
return ob1;
}
}
After line 6, how many objects are eligible for garbage collection?


I got this question from examsguide.com free sample questions...
please help