Rex Rodriguez

Greenhorn
+ Follow
since Jan 16, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Rex Rodriguez

I would love to see article on Assertation. Since it's going to be a new topic in JDK 1.4 test.
NIO is also important but Assertation would be my first choice. Thanks.
Bill and Marcus should start a Question of Day. I think it will be a big hit.
I am using for my CCNP preparation from Cramsession.com. I love it as it helps me to review one question a day.
Cindy (Cindy Glass), I bought the Passport book just because of your name in the book. I should say that I was very disappointed. I learned later that publisher messed up. I didn't even review the book just because of Cindy's name.
It's like buying books written by Bill and Marcus. Their names have become a brand like Coco Cola in the Java Certification Industry.
Should we expect some good and compreshensible articles from Bill, Marcus or Cindy on Assertion of JDK 1.4?
Thanks.
My friend was asked to take a Domino (Lotus Notes) Application Development "Prove It" test by a recruiter. He is a Principal Certified Domino Professionl. He was telling me that Prove It test was full of how to open a file, compose a mail, how to set up meetings etc. It was a joke as per him.
There were no questions on Scripting and real development. You know what happen. He failed in this exam. He was trying to explain his recruiter but you have to live with some IT recruiters who couldn't differentiate between JavaScript and Java.
I heard that many big six accounting firms will first ask you to take a brainbench test before they would consider your job applications.
I know one of the six big accounting firm in US accepts Brainbench Certification as a pre-requisite before it conducts interview. Even if you have an equivalent vendor certification, they don't give any thoughts.
The following program prints 10 and 5. I understand the first value printed;i.e.10 but I am not clear why it is printing 5 in the second print statement rather than 10. Thanks in advance for any helps.
public class test implements Runnable
{
int x = 5;
public void run()
{
this.x = 10;
}
public static void main(String[] args)
{
test tc = new test();
System.out.println(tc.x); // First value of tc.x
new Thread(tc).start();
System.out.println(tc.x); // Second value of tc.x
}
}
Why is it preferable to call sleep instead of yield? Why is it said that yield may not have any effect on some implementations.
Thanks in advance for clarifying it.
Hi Rob,
Thanks a million for helping all of us.
Rob, what is your base book that you are using for preparation?
Hi Maulin,
Congrats. What was your base book for preparation?
22 years ago
Bill,
Congrats. What was your base book while preparing for the exam RHE or Khalid's book?
22 years ago
Good luck. Would you mind posting your cheat sheet after the exam?
It would be of great help for others who are preparing to take the test.
Let's say I have the following code:
class test extends Thread {
public void run()
{
try
{
for(int i=1;i<=1000;i++)
{
sleep(5);
}
}
catch(InterruptedException e) {}
}
}
Later on, let's say I constructed an object derived from Thread
text x=new text(...);
x.start();
Instead of calling the start method, let's say I called run method directly. What is the implication of doing that? I know start will automatically call the run method but my question here is if I skip start and call the run method directly. Thanks in advance for all your help.
What I understand if you create two strings with same literals. It put inside a pool but refer to one. It resuses it. For instance,
String str1="test";
String str2="test";
Inside a pool, there will be one test pointed by both str1 and str2.
What happens in runtime and why we need intern? Any help with code explanation would help me a lot. Thanks in advance.
Purvesh,
I have bought this test few days before. What is the process to get the update as you improve? Do I have to download the entire test and obtain again new keys?
Thanks in advance for taking time in replying my questions.
Rex
Which of these array declarations and instantiations are not legal?
a) int a[][]=new int[][4]
b) int []a[]=new int[4][]
Why a is correct and why not b? Thanks in advance for any explanation.
So,
a[0]=9 and a[1]=6 as per the rule you cited that the array reference is first evaluated.
Therefore, it should print 9 6, right? It is printing as follows:
9 9 6
Where does it get the extra 9?