avi aro

Greenhorn
+ Follow
since Apr 13, 2006
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 avi aro

Hi,
Do you have network access while using emulator. Please note that while you are behind the proxy, you should make sure that you set the proxy settings in order for emulator to connect to network.
Thanks,
Yes, it will be good. Even if the phones use Linux as OS they will still support J2ME. As J2ME is the most widely supported programming language for cell phones, due to benefits from Java.
Hi,
Which test simulator is better for SCMAD preparation: Whizlabs or Enthuware JMADPlus? Can people share their feedback on these simulators?
Thnks,
avi
Hi,
I saw number of preparation material available for SCMAD preparation like: Whizlabs exam simulator, eplanet labs, etc. Is there a recommended preparation resource or can some one please share your experience with these simulators?
Hi,
I passed SCJP 1.4 with 90% score. I will like to actively contribute to this forum. I really liked the Java2 Sun Certified Programmer by Sierra and Bates. Its pretty good for exam preparation.

Avi
17 years ago
Hi,
What are the good free resources for practice exams? I have already given 3 Sun practice exams and the ones accompanying the SCJP book from Sierra & Bates.
Thanks,
avi
17 years ago
Hi,
How many mock exams or practice exams are sufficient to give before writing the actual exam. I have given 3 from Sun and 2 from the Sierra and Bates book. Are there any more good practice exams that I should try before giving a final try.
Thanks,
Avi
Hi,
I will need advice from the people who have already given SCJP1.4. Upto now I have scored 69-79 in the various practice tests. I have given 2 practice tests from Master Exam CD (CD accompanying the book by Kathy Sierra and Bert Bates) and 2 e practice tests from Sun in the time limit.
Do you think I have enough preparation, or I should still prepare some more before giving the actual test. I am feeling bore now to study more and more for this.
Thanks,
Avi
Hi Marc,
I have also changed my name. I hope it is fine as well.
Thanks,
Avi
Hi All,
I am preparing for SCJP1.4 from Kathy Sierra and Bert Bates book: Jave 2 Sun Certified PRogrammer and Developer. On Pg 359-360, Important Facts About Strings and Memory, the author explains about how is String s = "abc" different from String s = new String("abc"); From that explanation.
If I do:
String s1 = "abc";
String s2 = "abc";
if(s1 == s2)
System.out.println("Strings are equal"); //this will be executed.

But if I change the above code to:

String s1 = "abc";
String s2 = "ab";
s2 += "c";
if(s1 == s2)
System.out.println("Strings are equal"); //this will not be executed.

In this case s1 == s2 turns out to be false. Why? Why didn't the compiler referred s2 to the same String object "abc", which was already in String constant pool, as s1 was referring to it?

Can any one please explain me this?

Many Thanks,
Avi
Hi Henry,
Thanks a lot for your answer. One more thing. Is notifyAll() issued by all the threads when they finish. So if we have a thread that is going to finish, then we don't need a notifyAll() to terminate other threads.
Thanks.
Avi
Hi Guys,
I understand that equals() compares values of two string and == compares references. From this
___________________________________________________________________________
String str1 = "A";
String str2 = "A";
System.out.println(str1+" equals() "+str2+" "+(str1.equals(str2))+" == "+(str1 == str2));
___________________________________________________________________________

The output should be A equals A true == false

But the eclipse and netbeans give me output as:
A equals() A true == true.

But if I change this to:
_______________________________________________________________________
String str1 = new String("A");
String str2 = new String("A");
System.out.println(str1+" equals() "+str2+" "+(str1.equals(str2))+" == "+(str1 == str2));
_______________________________________________________________________

The output is
A equals() A true == false

I will like to ask that what is difference here between String str1 = "A" and String str1 = new String("A"). Is a new reference not created when we do str1 = "A"??
Hi,
Is it possible for a thread to come out of wait state even when the other thread has not called notify. I found the following example in the Sun Certified Programmer and Developer book on thread. This example uses notifyAll(). But even if I comment notify, the program works fine. Any suggestions. how is it possible:


[ May 06, 2006: Message edited by: Mark Spritzler ]
Hi,
Thanks a lot for the information. But I can't see the AWT APIS on the SCJP part of this book. But I have seen some sample tests on SCJP asking questions on AWT.
Also can any one please comment on the best books for SCJP 1.4.2. These days I have seen that many authors have changed their book to SCJP 5.0, which makes preparing with them not useful. Also which is a good reference book that can be used along with the certification books.
Thanks,
Avi
Hi All,
I will like to check if there are enough people giving SCJP1.4.2. I mean will it be continued for some time. Also the b is a books on the 1.4.2 certiifications are decreasing. There is a book "Sun Certified Programmer & Developer for Java 2 Study Guide " that I could found on SCJP1.4.2 . Since this book is published in Jan 2003, I will like to check if this book has upto date coverage of test or there have been changes in Exam pattern that makes this book obsolete.
Any advice will be highly appreciated.
Many Thanks,
Avi