B Bhalla

Greenhorn
+ Follow
since Mar 18, 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 B Bhalla

Sorry to hear that you lost it..

Guess what, I have lost my CD too. I had given all hopes of finding it and was thinking of relying on other mock exams..

However, to my surprise, I found that I had copied it to my external hard disk.. I saw it last week and was so happy !!

The point it.. Do you think you might have copied it somewhere before you lost it?

Victor Fernandez wrote:I answer myself, just reading the FAQ section at Sun web page :

How can I have my exam voucher extended past the expiration date?
When exam vouchers are purchased you have up to one year from the date of purchase to use it. Each voucher is valid for one exam and may only be used at an Authorized Prometric Testing Center in the country for which it was purchased. Exam expiration dates cannot be extended. You must register and take your exam prior to the expiration date of your voucher. Neither Prometric, Authorized Prometric Testing Centers, nor Sun Microsystems are responsible for vouchers that are not redeemed by the expiration date.




Cheers



Thanks for clarifying. I had same question in my mind.
All I can say is "Knowledge never goes wasted".

Good economy, bad economy.. Good times, bad times.. Happy times, sad times... Knowledge is power and does help in one way or the other.
nagaraju Goud uppala, please check your PM.

Fabio Leal wrote:Hy everybody...
Why can't we have a class just like "private class Myclass" to use in the same source file?

Thanks.



There is no "Source File" level scoping.
I purchased the K&B book mid of last year. I could only find 1.5 version of it on Amazon. So, I bought it with a thought of giving 1.5 exam

Now, if I want to appear for 1.6 exam.. Can I complete 1.5 book and then read the delta topics somewhere?
Thanks Bert and Himalay. Both of you clarified my doubts.

Thanks to others who answered too. I am clear about this now.

Starting chapter 2 now.. Hope to finish it off by Tuesday or Wednesday. Will be back with more questions!
I am not sure why I am having such a great difficulty in explaining my question. Let me try to rephrase it...

The question asked in the book is as follows. I do not see any mention of the word "Instance Variable" (or Listener) in this question. So, why and how should I assume that the author of the question wants me to identify standard naming convention for a "Instance Variable" method? Why should I not say that addSize is a correct answer, assuming that Size is my Listener's name (however add it might sound!!).

5. Which method names follow the JavaBeans standard? (Choose all that apply.)
A. addSize
B. getCust
C. deleteRep
D. isColorado
E. putDimensions

Ryan Beckett wrote:


User and Pass are instance variables.



Thanks. But I am really not clear of the point that you are trying to make. Where does the question mention "instance variable"?

Again. I really appriciate all the feedback and help here..

Ryan Beckett wrote:add and remove are for listeners; get, set, and is are for instance variables



Thanks and agreed. But where does it mention "instance variables" in the question? All it is asking is valid method names based on JavaBeans Standard.

Neetie Black wrote:I screwed up the OO questions, on that section I got a 40%.

Plus, I answered all the questions but did not get a chance to go over them again. Any tips on improving my time? Thanks.



Sad to hear that. But all I can say is that failure in an exam is not necessarily end of the world. Also, if you work hard, you will succeed in subsequent attempts.

Gurus here might better answer your specific question. I just wanted to boost your confidence.
15 years ago
5. Which method names follow the JavaBeans standard? (Choose all that apply.)
A. addSize
B. getCust
C. deleteRep
D. isColorado
E. putDimensions

I thought A, B and D are correct. However they say only B and D are correct.

The chapter clearly says:- JavaBeans methods must be named using camelCase, and depending on the method's purpose, must start with set, get, is, add, or remove.

What am I missing? Why is "add" not a correct answer here?

Devaka Cooray wrote:B Bhalla, welcome to JavaRanch. When posting again, please use a meaningful subject line. Otherwise it may waste someones time.



Sure Devaka, I will make sure to write meaningful subject lines. Your link to that was helpful.

However, the main purpose of this post was to just say "Hello"..
Hello everybody.

I joined today and wanted to say Hi

I started preparing for SCJP last week. Completed reading chapter 1 of K&B book today morning. Still have to do questions at the end of the chapter.

Anyone else planning to appear for exam in May? We can sync up the timeline and read chapters together.

Good luck and thanks,
Bhalla.