Anish Doshi

Greenhorn
+ Follow
since Jun 13, 2003
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 Anish Doshi

Hey,
Its a pleasure to have you here. I had a question to b asked...I am a SCJP 1.4 and I am surrounded by only that much portion of java. And I dont have any knowledge of j2ee. And now i am planning to get into j2me. I really dont know where to start from and where to go from here. What are the technologies that I need to learn before getting into j2me. And can you plz tell me what does your book cover... Coz i m a bit confused on 'what to do next'.
Thanks in advance,
Kind Regards,
Anish Doshi.
20 years ago
Hey,
It's written on prometric that the exam fees are $356, but actually if you buy a voucher from sun you get a discout and it cost $250. So totally you pay sun $250 + GST = $281.25. And you pay the bank the direct debit fees of $25 if you do not have a credit card or else only $281.25. It cost me a total of $306.25. All NZ$. It happened to me as well. My representative went for a leave and I received no reply for almost a week. Dont wrry bout that if you already have time before exam.
Kind Regards,
Anish Doshi.
Hey Richard,
I am from new zealand as well. And I would say its quite hard to get an exam voucher. What I did is I called the solnet edu. in nz and they said that d vouchers can be available from australia and they dont give vouchers here in new zealand. So i had to mail to the guyz in australia. and they arranged it for me. And even i faced the same problem of credit card. I had no credit card. So I asked them if it was alright if i pay them by direct debit thru my bank and they said its alright. And they gave me the voucher no and mailed me the invoice. And the whole process took about 3 weeks. So be fast at it and mind you it will cost you much more coz u have to pay the GST and $25 as the fees for direct debit to australian account. So plz b fast at the whole thing and dont leave it for the last minute. And after you have d voucher the time is limited to 1 year for the exam and thats enough time. so even if therez time for you to give the exam start the procedure soon.
hope this helps you.
Kind Regards,
Anish Doshi.
Hey folks,
I think the above class wont pass the compiler, as the method 'findout()' isn't a static method. And a constructor can have access only to the static members of the class.
Kind Regards,
Anish Doshi.
Hey Lee,
The thing is that there are only two objects, the 1st one is the one that was refered by variable x (which is made null) and the other refered by variable y. So when
Integer z = y;
is executed both variable y and z refer to the same object. Then both are made null one by one, so three reference variables are null(ed). But actually they altogether refered to only two objects. And now these two objects are elligible for garbage collection.
Hope this helps.
Kind Regards,
Anish Doshi.
I forgot to add that the unicode nos are always hex values.
[ November 27, 2003: Message edited by: Anish Doshi ]
Hey agn.
Not exactly Mona.
Do you know what exactly a hexadecimal no. is? if no, then I think you got to a brush on it a lil bit. and yes then the d does not represent a decimal but its no in whole(00000d) which means 13. And as for unicode, 'u' after the escape character(\) mean its a unicode character. If you wanna know about unicode u can reach Unicode web page but If you can understand a single part of it, you are a real pro. .Bur yeah u got to know wat unicode and hex nos. are.
If in doubt agn. you can ask agn. lolz.
Kind Regards,
Anish Doshi.
Hey Mona,
The range for char is from 0 - 65535. For 'c1', a-z and A-Z are mere representation of ASCII values. And for c2 its the normal range(you can also put some octal and hex numbers in it) and as for c3 its the unicode representation of the hex numbers. so anything in the range of 0-65535(decimal integer) is acceptable here(Even ASCII, but i dont how it looks like ).
I hope this explains you in a better way.
Kind regards,
Anish Doshi.
Hey guys,
The version of the book I went thru has:
x = x.toLowerCase();
I think you have an older version of the book you should always keep checking the errata:
  • errata from wickedlysmart.com
  • errata from osborne.com


  • Hope this helps.
    Kind Regards,
    Anish Doshi.
    [ November 27, 2003: Message edited by: Anish Doshi ]
    [ November 27, 2003: Message edited by: Anish Doshi ]
    Hey,
    Xtremely srry its 2 objects. my mistake.
    Hey Mona,
    The thing is that all the method in the same call stack should either declare it that it throws the exception or else handle it using try/catch. I know its a bit confusing at the first look towards exception. But this is the best way i can explain it to you. i too got confused on this one and even decided to leave the exception part itself . But then I read it about 10 times the whole exception part and then i was clear with this one. And then i successfully went thru the exam scoring wid a huge margin. I would say reading the un-understandable stuff agn and agn is the best way to know the stuff.
    I hope this helps you.
    Kind Regards,
    Anish Doshi.
    Hey,

    I think three objects should be eligible for garbage collection. Can anyone correct me if I am wrong.
    Kind Regards,
    Anish Doshi.
    Hey,
    2. You can only subclass one class.

    actually means you can subclass only the Thread class and no other class.
    Kind regards,
    Anish Doshi
    i guess its not:
    byte = -2^7 to 2^(7-1)
    short = -2^15 to 2^(15-1)
    int = -2^31 to 2^(31-1)
    long = -2^63 to 2^(63-1)
    float = ... to ...
    double = ... to ...

    but
    byte = -2^7 to (2^7)-1
    short = -2^15 to (2^15)-1
    int = -2^31 to (2^31)-1
    long = -2^63 to (2^63)-1
    float = ... to ...
    double = ... to ...
    Hey mate,
    Its good to clear your doubts mate. This also confused me for a second but then i went this way. It actually means that Foo[1] means a reference var. is refernced to an object of Foo. Its because you initialize it with an reference to an object. And one more thing plz dont wait for the book to say it to you that "I'll initialize the var first so that its all clear to you." or else you'll end up nowhere, coz this book is full of such stuff and you got to presume a few things.
    I hope this answers your question.
    Kind Regards,
    Anish Doshi.