Shailesh Misra

Greenhorn
+ Follow
since Jul 24, 2000
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 Shailesh Misra

Sandeep,
My coupon was also expiring in the 31st.. i gave the exam on this 22nd and i got 86%. My score was just the same as yours.
Take it cool if there's any query mail me,
Best of Luck,
SHailesh
Does JWhiz test properly on Threads ?? I gave the exam 3 days back. I have no information on JWhiz. But if you are fine with the synchronized threads and 15-20 lines of codes on deadlock etc. go ahead,
I honestly found the real thing very cool after the mocks i had taken. Although i couldnt get 90:-( my score was 86.
best of luck,
22 years ago
Hi,
I have read about String objects being cached. java maintaining a copy of String objects even if there are no refences pointing to them - which may be a cause of concern in large projects.
And that StringBuffer should be used instead of String class.
Can somebody help me with this - are only Strings created with assignment not garbage collected or all - ie created with new as well. Is there anything in the JLS on this ?? or anywhere,
please help,
Hi ,
I got messages regarding information on the exan Here it goes.
The changes in the code were made last year in October not this year.The rules are the same :
2 hours, 59 questions, 61% to pass. I could get 51 questions correct of 59 questions.
I started with around 7 questions on threads. You should know how to work with threads running together and calling synchronized or non- synchronized methods or methods having synchronized blocks.
In IO you need to be clear with the constructors.....can i put OutpuStream in FileOutputStream ??? like this.
Be clear with the operators and loops and how the continue , switch, break behave in all the different ways. Putting default in a switch in the beginning, middle or at the end when the passed integer is there as a case....or not there....
You should know the main methods of the StringBuffer, String, Math Class....with their return types.
You should know in awt how different layouts would place things... their defaults - alignment, positions, etc,
On the whole its cool,
take lots of mock tests,
cheers,

Hi,
For your concern in io do this :
Make a diagram of the hierarchy - ie a tree like pattern for the subclasses of the OutputStreamand InputSTream in one and Reader/Writer in one.
With all the classes you write their constructors. You will realize how the constructors of corresponding reader/writer or input/output classes match.
Learn the constructors thoroughly - its an hours job. You will realise almost all take the superclass. so you can put a DataInputStream in a DataInputStream in a DataInputStream...!!
once you a re clear with this you are ready for the exam.
best wishes,
Hi,
I have read about String objects being cached. java maintaining a copy of Strig objects even if there are no refences pointing to them - which may be a cause of concern in large projects.
And that StringBuffer should be used instead of String class.
Can somebody help me with this - are only Strings created with assignment not garbage collected or all - ie created with new as well. Is there anything in the JLS on this ??
please help,
22 years ago
Thank a lot everyone. please guide me how i sould proceed now. I am interested in learnning the EJB stuff.
22 years ago
Congrats !!!
WELL DONE....must be a satisfying feeling ...
mail me too what you are planning next.
cheers,
22 years ago
Hi All,
After postponing for an year, well almost, i passed the examination with 86% yesterday. Just 9 days before my voucher would have expired. It was a nice experience.
thanks for the help everyone,
regards,
Shailesh
22 years ago
Thanks,
I got it. In Heller i saw the table that says :
If old type is a non final class and
new type is reference to an any object array type say abc[] type
and we cast as follows
nt=(newtype)ot;
Then this will compile only if - "newtype must be object". I think that oldtype must be an object. new type is an array.
regards,

Hi All,
I observed that Casting Object to Object Array and vice versa does not throw a ClassCastException. I was expecting a runtime error at 1.
Please help,
_____________________________________________________________
class test
{
public static void main(String[] args)
{
abc[] i = new abc[2];
Object o = new Object();
o=i;
i=(abc[])o; // I was expecting error here at runtime.
}
}
class abc{int a=1;}
_____________________________________________________________
regards,
Shailesh

[This message has been edited by Shailesh Misra (edited October 16, 2001).]
I am taking the test next week, please send tips,
------------------
Lucknow
misras@satyam.net.in
22 years ago