sashi balu

Greenhorn
+ Follow
since Jul 23, 2004
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 sashi balu

Thank you so much

Sashi
19 years ago
Hello all,

I have worked with Apache server at previous company. Now I want to install and deploy Apache/Tomcat in my home pc. Can anyone please give me some guidelines on where to start, how to download and check if its working ok?. I am really lost on where to look.

Thanks for your time
Sashi
19 years ago
Hello all,

I just cleared SJCP and still thinking what to do. In my prev job(that lasted a year) I was working with JSP and servlets. So is this the right exam I can take?.

Can someone recomment some good books to start? and also if I have to practice at home where do I start downloading the services that are necessary.

Thanks for your time
Sashi
Hello all,

I cleared the SJCP 1.4 today. Nowhere near the 90 percentiles but I am pretty happy that I reached this point.

I loved the K & B book, their witty writing made reading the book a pleasure.

I also tried Dan's individual topic exams and also Marcus's 1.4 mock exam, also the free set of questios from javacertificate.com.

What I really think helped me were the questions at the end of each chapter in the K & B book and made sure I understood the reasoning behind each question and last a big thanks to all the people that post their questions on javaranch and all those members who take time to answer them.

I am thinking where to go from here.

Sashi
19 years ago
Dan had the foll. tip(or rather phrase) to remember the escape sequences apart from '\\','\'','\"',

"B"ig "F"arms "N"eed "R"ed "T"ractors ( '\b', '\f', '\n','\r','\t').

Hope that helps
Sashi
Can anyone pls elaborate on why the answer is 22 and not 21, like Fred I also think the answer should be 21?.

Thanks
Sashi
This is in response to Nina's post,

class PassA {
public static void main(String [] args) {
PassA p = new PassA();
p.start();
}

void start() {
long [] a1 = {3,4,5};
long [] a2 = fix(a1);
System.out.println(a1[0] + a1[1] + a1[2] + " ");
System.out.println(a2[0] + a2[1] + a2[2]);
}

long [] fix(long [] a3) {
a3[1] = 7;
return a3;
}
}

The above code prints 15, 15. As per the K & B book, pg 208, the operands are evaluated from left to right and if either of the operand evaluates to a string the operands are concatenated otherwise it will just add the numeric operands. So 15, 15 o/p makes sense.

Sashi
This from PGJC Mock Exam Engine,

Which of these statements concerning the collection interfaces are true?

1.Set extends Collection
2.All methods defined in Set are also defined in Collection
3.List extends Collection
4.All methods defined in List are also defined in Collection
5.Map extends Collection

I know 5 is a wrong ans and 1 and 3 are correct but I am not sure what will be the correct third choice as 2 and 4 both sound wrong to me. Please advise.

Thanks
Sashi
Thanks a lot Marc for that beautiful explanation, and thanks to Netty for
posting that qstn.

Sashi
Could somebody point if Marcus Green has more than one mock exam for 1.4 version and also the links to it?.

Thanks
Sashi
Hello all,

Recently there was a question on static method and instance variable invocation, and there were also responses on which are invocated during
compile time and run-time, could somebody help me out, I think the question
was also on one of Marcus green's exams.

Thanks
Sashi
Thanks, I saw the mistake, I knew the method call was tricky but still fell into the trap.
Correct me if I am wrong, the object pointed to by x2 before the statement

x2 = x, is unreachable and hence "1" object is eligible for GC.

Thanks
Sashi
I was checking out Marcus green's mock exams and exams 1&2 had some questions on swing, data streams etc, so are these for the older version of the exam(1.2) and the one that has the simulator the one for the 1.4 version?
Hello all,

I guess my question is really a
trivial one, but how is the scoring done for questions that ask us to choose more than one answer from the choices?. Assume that I have to choose 3 choices for a given question and I only get 2 correct, would I still get a zero for that question?.

Thanks for your time
Sashi