kanchan chaudhary

Greenhorn
+ Follow
since Jun 06, 2001
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 kanchan chaudhary

Hi,
Where can I find the Constructors & methods of Vector class?
Thanks
kanchan
Hi,
I think, U can access the public & protected constructors in other package also. But the reason is not correct as the constructors R not inherited, they R accessible.
Thanks
kanchan
Hi friends,
Can anybody suggest me what to do after SCJP.
Shall I try for any job (I don't have any experience) or proceed further in studies?
Any suggestion will be of great help?
Thanks
kanchan
23 years ago
Hi,
U R right, they don't ask big numbers in bitwise operations mostly.
Thanks
kanchan
Hi friends,
What I have found out is that executing the interrupt() method interrupts the current thread temporarily. Then, that interrupted thread moves to the ready state. & the next time it begins executing, it executes the InterruptedException.
Any corrections welcome.
Thanks
kanchan
Thanks.
Till now not decided what to do next. Seeing the Java job market down recently, I am not sure whether to go for Java Developer or not. Can anybody give any suggestions? It will be of help.
Thanks
kanchan
23 years ago
Hi Guys,
Thanks a lot for ur support.
Today I passed the exam with 79%. I expected more, I don't know where I went wrong. This is the bad part of the exam that we don't get to know atleast which questions we answered wrong.
Solving many mock exams really gives confidence.
The questions in the real exam R really twisted somewhere.

Thanks
kanchan
23 years ago
Hi,
public class A
{
A()
{
}
}
In the aboce class, the constructor has public accessibility. If the constructor is not given any modifier, then it defaults to the accessibility of the class, so in the above example, since the class is public, the constructor is also public, unless explicitly mentioned private/protected.
Pls correct me if I am wrong.
Thanks
kanchan
Math.abs(Integer.MIN_VALUE)
Why does it gives -ve number?
Thanks
kanchan
public class ADirtyOne
{
char a = '\u000A';
}

why does it gives error?
kanchan
public class AQuestion
{
private int i = giveMeJ();
private int j = 10;
private int giveMeJ()
{
return j;
}
public static void main(String args[])
{
System.out.println((new AQuestion()).i);
}
}
The output is 0 in this case;

public class AQuestion
{
private int i = j;
private int j = 10;
public static void main(String args[])
{
System.out.println((new AQuestion()).i);
}
}
& a compiler error in this second case. In this case it can print 0, b'coz, first, i.e. b4 executing the constructor, the member variables R initialized to 0.
Pls explain
Thanks
kanchan

Yes, U R right. I mean the same.
Thanks both of U.
kanchan
Is there any negetive marking in the exam?
Thanks
kanchan