Suresh

Ranch Hand
+ Follow
since May 08, 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 Suresh

hi paul,
in my case, I would say javaranch helped me gain more than 10%!! I think it would have been more, had I gone thru all the pages. I didn't get time to go thru all the pages!! Only after booking for the test, I found this site!!
Paul, thanks a lot for such a great site!!
Regards,
Suresh.
Remco,
CONGRATS!!
That's a great score!!
Has anyone got 100% so far?
And remco, what next?
Regards,
Suresh.
Hi,
I'll go with Java nut.
It will compile, but there won't be any output!!
Regards,
Suresh.
Hi,
Suma, John, Eric, Herbert, Joy, Basu, Ajay, Ajith, Maha, and satya,
Thanks a lot for the wishes!!
I would be happy to know what your plans are after SCJP. I don't know what to do next - SCJD or SCJA I am thinking of going for SCJD after 4 or 5 months. (Friends, any alternative opinions?) I know only the basics of Java. Lots to read and work, before I apply for it. And, please let me know of your plans for preparation also.
Maha, yeah, both of us have got the same scores!! But, it will take me years to gain the amount of java knowledge you have!!
Ajith, Congrats on becoming one of the bartenders!!
Regards,
Suresh.
rajapratap,
In an interface, all the methods should be (implicitly) abstract methods.
In an abstract class, you can have implemented methods also. Apart from them, you can have abstract methods. You would wonder (if you haven't realised before), you can have an abstract class without any abstract methods!!
These are the major differences.
The minor differences being,
In an interface, all the variables declared are implicitly static and final, but not so in an abstract class.
In an interface, all the methods are public, but not so in an abstract class.
Hope this helps,
Regards,
Suresh.
Indy,
CONGRATS!!
That's a nice score!!
What next? SCJD?
All the best in all your future endeavours!!
Regards,
Suresh.
Ajith,
CONGRATS!!
That's a great score!!
Enjoy the vacation!!
When you start preparing for SCJD, just tell me what all should be in the preparation and where to start with!!
Regards,
Suresh.
Ibrahim,

I need to know:
- What is the best way to study? Like what in what order.
- What areas should I concentrate on?

You start with Robert, Heller & Ernest. The first 13 chapters are enough. And, don't forget to read the chapters on GridBag layout in the second part of the book. And, try to have some knowledge about Applets, atleast how to embed an applet in a html file and how to get parameter values in an applet.
And don't forget to do all the tests given at the end of each chapter. And, read the book again atleast twice, before you move to another book. And don't forget to take notes. That will be helpful to you in the last week of the exam.
Then, read a cram book (Everyone says Brogden's cram is good. I haven't gone thru it!!). There's a cram available in the net by Marcus Green, available at www.jchq.net .
There's also a cram by Jyothi Krishnan available in the net which is also good.
Then, start doing the mock exams!! Atleast 10 or 15 exams before you go for the real one!!
Now, you're ready to take up the exam!!

- What percentage of the questions are theory based and what
involve analysis of java code.
> With coding Qs: are they similar in length/complexity to
the the ones in the books?

There's no perfect ratio between theory and code analysis since you get random questions from a very large pool of questions!!
Actually, the real one has very less complexity compared to most of the mock exams!!

- Are the books and web_based mock exams enough for taking the
exam? I ask because I want to go into w/the intention of
getting nothing less than 100%(best way to shoot high).

That's the spirit!! Yeah, the books and mock exams are more than enough. But, try to work out some examples if you get any doubts. Don't trust only on the answers given by the authors of the tests!!
Hope that helps!!
Regards,
Suresh.
Andreas,
Congrats!!
And, all the best for your future endeavours!!
What next, SCJD?
Regards,
Suresh.
rahul,
b = -97 is a negative number. So, it is stored in its two's complement form - 1111 1111 1001 1111.
Since char is an unsigned integer, this number is assigned as a positive integer to the char variable cd. So, this value is 65439. Since most of the machines don't support unicode characters, they display '?' for displaying characters which are not in the ascii range.
When you assign the char variable to int variable id, this value 65439 is assigned. And that gets printed.
Hope this helps,
Regards,
Suresh.

Originally posted by rahul_mkar:
hi
byte b= -97;
char cd=(char)b;
System.out.println(" " +cd);
// prints ?
int id=cd;
System.out.println(" " +id);
// prints 65439
can anybody tellme what's going on and why


PMJ,
I'm not Maha.
Hope you/Maha won't mind!!
Actually, there are 48 keywords in java, which are reserved, which you can't use as identifiers. Moreover, true, false and null are not keywords but reserved words, which also cannot be used as identifiers.
For a list of keywords and reserved words, refer to http://java.sun.com/docs/books/tutorial/java/nutsandbolts/_keywords.html .
goto and const are keywords. Their significance is that - though they are keywords, they are as such not used in Java 2.
Actually, the difference between keywords and reserved words is a matter of much confusion!!
Regards,
Suresh.
joy!!
Congratulations!!
All the best for all your future endeavours!!
Regards,
Suresh.
Guna,
Congrats!! Score doesn't matter much!!
All the best for future endeavours!!
Regards,
Suresh.
ramesh,
what do you mean by graphics? Graphics class? Or do you mean awt & paint?
Though painting is not in the objectives, you may get questions from painting. Components and Layouts are part of the objectives.
Hope it helps,
Suresh.
Herbert,
, just now I passed the exam. That was pretty easy and it was easier than our Rules roundup!!
Nothing to worry about the difficulty of the exam. The questions were very similar to the ones in most of the mock tests. If we take more mock tests, the exam will become more easier I suppose!!
Regards,
Suresh.