Suresh Chidambaram

Greenhorn
+ Follow
since Aug 05, 2000
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 Suresh Chidambaram

Hello All!!
Yesterday I gave my SCJP and passed out (phew!) with 92%.
'twas quite easy in the end.No Media Tracker. No Sockets. Lots on I/O though and I am thankful to this forum because participating inmany of the discussions orientedme coorectly towards the issues to be addressed in the real exam.
Marcus Green's exams seem the closest simulator. Thanks to him, if he is seeing this, for the invaluable help.
I must also thank Bill Brogden specially for taking the pains to mail me his set of hardest questions as the applet didnt load in my machine. When I did this set,I made a couple of very basic mistakes and quite conveniently, got two very similar questions in the exam. And needless to say,i didnt repeat the mistakes!!
Thanks ,Bill. You have beenmost helpful.
The breakup was about
4 on threads, 4 on I/O, 6 on AWT stuff(very basic though.Guess it is enough to know which field does what even in the supposedly diffcult topic of gridbaglayout).about 6-7 on exceptions .Lots on declarations and syntax. Fared well in almost all sections except overloading and overriding where I got a miserly 63%. Ironical,considering that was the one topic I went into the hall fully confident of.Shows that one shouldnt be too sure about anything:-))

Making One's own notes definitely helps. Though mine are pretty haphazard and useless as I see them now.
Reviewing most certainly helps.I finished the exam in exactly 59 minutes and spent every second of the next 61 minutes reviewing and re-reviewing.Fixed atleast four mistakes this way.
And watch out for the syntax. Seemingly perfect declarations and statements might have some very basic syntax errors. It helps to treat every question without categorising it into threads,I/O etc.
For instance I found on my fourth review that a question,which I had answered supposing it to be in I/O turned out to have an option which was syntactically incorrect .
And lastly, a clear-cut knowledge of the English Language is a must!!WATCH OUT For the differences between "should","can" and "must". These definitely matter!!
And as a last tip to any wannabes, be sure you follow the discussions in this forum, experiment based on the issues people raise here and that should ,I reckon,give you a 50% advantage
Thanks to maha anna, marcus, bill, ajith among others for their lucid explanations on various issues in the forum
Thanks to you all for being helpful in various ways.
cheers and good luck to you all..
RCT
Hello All!!
Yesterday I gave my SCJP and passed out (phew!) with 92%.
'twas quite easy in the end.No Media Tracker. No Sockets. Lots on I/O though and I am thankful to this forum because participating inmany of the discussions orientedme coorectly towards the issues to be addressed in the real exam.
Marcus Green's exams seem the closest simulator. Thanks to him, if he is seeing this, for the invaluable help.
I must also thank Bill Brogden specially for taking the pains to mail me his set of hardest questions as the applet didnt load in my machine. When I did this set,I made a couple of very basic mistakes and quite conveniently, got two very similar questions in the exam. And needless to say,i didnt repeat the mistakes!!
Thanks ,Bill. You have beenmost helpful.
The breakup was about
4 on threads, 4 on I/O, 6 on AWT stuff(very basic though.Guess it is enough to know which field does what even in the supposedly diffcult topic of gridbaglayout).about 6-7 on exceptions .Lots on declarations and syntax. Fared well in almost all sections except overloading and overriding where I got a miserly 63%. Ironical,considering that was the one topic I went into the hall fully confident of.Shows that one shouldnt be too sure about anything:-))

Making One's own notes definitely helps. Though mine are pretty haphazard and useless as I see them now.
Reviewing most certainly helps.I finished the exam in exactly 59 minutes and spent every second of the next 61 minutes reviewing and re-reviewing.Fixed atleast four mistakes this way.
And watch out for the syntax. Seemingly perfect declarations and statements might have some very basic syntax errors. It helps to treat every question without categorising it into threads,I/O etc.
For instance I found on my fourth review that a question,which I had answered supposing it to be in I/O turned out to have an option which was syntactically incorrect .
And lastly, a clear-cut knowledge of the English Language is a must!!WATCH OUT For the differences between "should","can" and "must". These definitely matter!!
And as a last tip to any wannabes, be sure you follow the discussions in this forum, experiment based on the issues people raise here and that should ,I reckon,give you a 50% advantage
Thanks to maha anna, marcus, bill, ajith among others for their lucid explanations on various issues in the forum
Thanks to you all for being helpful in various ways.
cheers and good luck to you all..
RCT
public class Cello{
public static void main(String[] args) {
System.out.println("hello there");
};
}
public class Dell extends Cello{}
hi everyone
is the above code legal??
I tried in my java 1.2.2 compiler and it compiled fine.
Are we not supposed to have "atmost one2 public class per source file though R&H do put a disclaimer stating it is just a portability requirement.Maybe it is compiler-dependent..
But question is what does one answer if such a question appears in the real exam??
Thanks for all your help
RCT
Following on the numerous questions on hidden and overridden methods, please can anyone explain what goes for the SCJP exam. In other words, from the point of view of SCJP,
"Static methods cant be overridden"
Is this statment true or false??
In the real world, as pointed out by someone(I forget whom) in some other thread(uh, I forget which), this is really true since static methods are hidden not overridden
Question is, from point of view of SCJP, what does One
answer if this appears in the SCJP exam?? "True", or "false"??
RCT
------------------
Romba Chinna Thambi
Interestingly, the method spec for fillRect says it's coord's are
x, x+width-1, and y, y+height-1. And goes on to say this fills in arectangle of width width and height height.
So, I guess coord's of x, x+width, y, y+height should imply width width+1, and height height+1??
Something is not adding up??(Pun unintended:-) )
------------------
Romba Chinna Thambi
GC
Primitive variables get allocated on the stack.They are pushed and popped at method entry and exit. Therefore, the question of garbage collecting them doesnt arise.
Correct me if I am wrong, Sheriffs and ranch hands
Sorry for the rather ineligible topic but please can someone clarify if I can get the htnl version of Bill Brogden's hardest questions because the applet is not loading properly on my machine....
Thanks very much for any help
RCT
Congrats Vivek! And best wishes for you and your wife and your child!! May God bestow all good fortune upon you and family!!
Keep visiting javranchand throwin your valuable insights!!
RCT
Hi!
I find that the R & H test engine is pretty easy. I am sure the real one will be a lot lot lot more tougher. Question is how tougher..
Can I get a tougher simulation test somewhere on net..
I have tried valiveru's site, and marcus green's.
Marcus green seems to be tough but not very tough again.Scored 51,55 and 57 (out of 60)respectively in MG's 1,2 &3.
Valiveru stumped me several times over. Could get only 56% but i am not sure of his answers .
Another thing is many of these simulations seem to pose ambiguous questions.
All ye big shots, Please can you guide me as to whether I am ready to give the SCJP yet...and which of the numerous simulation applets available give a truer picture of one's worth.
One point is Bill Brogden's hardest questions applet is not loading onto my machine. Are these questions availbale in HTML format??
Thanks very much for any help guys
RCT
Congrats amandeep. Boy, that was a fantabulous score!!
Please Can u mail your notes to me at
srinir@mailcity.com
Just as last minute lookups...
Thanks very much for any help..
RCT
The same results with 1.1.3..
Hmm..I'd rather believe what the two comrades-in-arms say..So, "say nay" to static variables in member inner classses, then..
Fellow Greenhorn bf19314, heed the warning, unless we have conflicting results from brothers 1.1.2, 1.2.1 etc.
Can anyone summarise the rules regarding inner class variables,including local inner classes, please??
Thanks in advance for all your help
RCT

IF only Life were that simple..
(SIGH...:-) )
My compiler screams at the static variables in C and B in the following code:
**********************************************************
public class testinner {
static int i=200;
static int j=300;
static class A{ A(){ System.out.println(i++); } }
class B{ static int i;B() {; System.out.println(i++); } }
class C{ static int i=50; C() { System.out.println(i++);System.out.println(testinner.this.i++); } }
public static void main(String args[]) {
A a = new A();
testinner.B b =new testinner().new B();
C c = new testinner(). new C();
A a1 = new A();


}
}

**********************************
The noise it makes I reproduce below:
C:\java>javac testinner.java
testinner.java:8: Variable i can't be static in inner class testinner. B. Only
members of interfaces and top-level classes can be static.
class B{ static int i;B() {; System.out.println(i++); } }
^
testinner.java:10: Variable i can't be static in inner class testinner. C. Only
members of interfaces and top-level classes can be static.
class C{ static int i=50; C() { System.out.println(i++);System.out.println(testi
nner.this.i++); } }
^
2 errors
Besides, why doesnt it complain about the expression
"C c = new testinner(). new C();"
Shouldnt it be" testinner.C=..."
as it is being called from main?/
Java 1.2.2 is the compiler i am using
Stumped...please can someone clarify things as they stand regarding inner classes, in the context of SCJP??
(i.e) Do I take my Compiler's behaviour as normal and believe staunchly that member inner classes can have static member variables or do I follow the general belief(which might, for all I know, be wrong), as proved by my fellow greenhorn's assertion that it is legal, that they can??
And why is the Creation of a C object without using the exprtession "testinner.C=.." not objected to by the compiler?/
Thanks for your replies in advance..
RCT

Can an member class have a static member??
That is,
class A{
class B{ static int i;}
}
Is this legal??
Thanks,
RCT
Thanks very much rajsim and Lee.
While on streams:
What is the level of knowledge required in streama. Should one know all the inheritance hierarchy and the details of methods in each implementation of Input stream etc. and which class implements which interface, inherits from which class etc??thanks in advance...
------------------
Romba Chinna Thambi
Thanks very much rajsim and Lee.
While on streams:
What is the level of knowledge required in streama. Should one know all the inheritance hierarchy and the details of methods in each implementation of Input stream etc. and which class implements which interface, inherits from which class etc??thanks in advance...
------------------
Romba Chinna Thambi