Jonathan Jeban

Ranch Hand
+ Follow
since Oct 08, 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 Jonathan Jeban

Thank u guys... I am off to have a peaceful sleep
Jeban.
Hi,

Why is abs() method behaving abnormally for Minimum value of integer?
TIA,
Jeban.
[This message has been edited by Jonathan Jeban (edited February 07, 2001).]
Hi,


Can anyone explain why the program doesn't throws error for i
re-declaration???

TIA,
Jeban.
Hi Latha,
Painting is not in the exam.
This news I got from January 2001 issue of the Java Certification Report.
Excerpts from the Newsletter...
New Changes in SCJP Qn Format(after Oct4,2000)
The removal of all "painting" / Graphics related questions
by Sun from the Java 2 Programmer Exam question pool.
When the Java 2 Programmer Exam objectives first came out,
there were questions about what was, or was not, covered
by the new objectives. The Java 2 exam objectives were
more general, less specific than the prior
JDK 1.1 Programmer Exam objectives. The Java 2 Programmer
Exam question pool was a carryover from the JDK 1.1
Programmer Exam question pool. There were residual
questions on Graphics / painting related issues on the exam.
After October 4, a completely new Question pool has been
introduced, and there are no longer any Painting /
Graphics api related questions in the Question pool.

Hope this helps,
Jeban

Originally posted by Savio Mascarenhas:
are local inner classes(assuming non-static) associated with an instance of the outer(enclosing) class ?
Thanks.


No.
Local Inner class instances can be created without creating an instance of the outer class.
But member inner class instances cannot be created without creating an instance of the outer class.
More on this(by Maha Anna).
Cheers,
Jeban.
Hi Khan,
Yes. Cardlayout is in the exam.
One person has reported that he got a question in cardlayout.

HTH,
Jeban.
Hi Jane!

Congratulations Jane!!
Best Wishes for ur future ventures!!
Hope u hang around here and help us all
Cheers,
Jeban.
17 years ago
Hi Balaguru,
Yes , u are right.
Option 2 is not acceptable because u are redefining
the variables again.And option 3 is not acceptable because u
r trying redefine it as StringBuffer.

Jeban

Originally posted by Balaguru Janarthanan:
Jeban, I say the correct answer is 1. agree?[/b]



[This message has been edited by Jonathan Jeban (edited November 09, 2000).]
Hi Balaguru,
This is your code..
String one="one";
one="two";
System.out.println(one);
Lets rewrite it for better understanding...
String one; <-- String reference variable is created
one="one"; <-- "one" String Literal is created in
the pool and it is referenced by
one
one="two"; <-- "two" String Literal is created in
the pool and it is now referenced
by one
System.out.println(one); <-- As currently one points
to String Literal "two" ,it is
printed.
Hope this helps..
Jeban

Originally posted by Balaguru Janarthanan:
But who created object "two"? pls clarify?


Hi Balaguru,
one is reference variable.
First it points to "one" object.
Then its assigned to "two" object.
Hence the result.(and there is no need to bring immutablity
concept here for this )
Jeban

Originally posted by c Janarthanan:
Just tried and compiled the following works well;
String one="one";
one="two";
System.out.println(one);
it prints two;
how it two, is it not one?
Pls. clarify.


Hi all,
Nothing is tough , ( even rocket science) if one got brains.
Many people are thinking that the standards of SCJP has been lower very much because of these new format.....
So lots of people should be scoring 100% ? Is that happening?
The people who pass around real exam questions are lowering the exam standard.
I feel the Sun should change its database once in 6 month.
SCJP is just a starting point...there is SCJD..etc.,which isn't easy at all.
this is just my thought.
Jeban
PS:Thanx moderators for delete Oliver's mail.It was truely in a bad taste.
Hi Sandy!
Pls do check this Javaranch FAQ on this..
const and goto or words that are reserved but are not reserve words. They are reserved keywords for future use...
Jeban
Ajith:
This is just a suggestion.
Is it possible to upgrade the registration validation such
that , folks who register without adhering to the naming
policy are checked at that point itself and allow them
to register successful only when the adhere the rules
properly.
Jeban
( It will make u less of a villian )
17 years ago
Hi Ravi,
Just some corrections..
const/goto - keyword
null/true/false - reserved word

U can check sun's tutorial for this..

Jeban.

Originally posted by ravi chan:
Yes they are reserved words, but you cannot use them as a valid
identifier or variables. Please correct me if Iam wrong.