Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Anuradha Shanmugam

Greenhorn
+ Follow
since May 09, 2004
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 Anuradha Shanmugam

Hi Rajani,

Why dont you have a look at this wonderful flash example given by Corey @ http://www.geocities.com/mcglonec1978/javacert/javacert.html#param_passing ?

Regards,|
Anu
Hi Chang,

Hope your question is not complete.

Anyway,

if your question is "how objects are created?" then the answer is when you use new keyword an instance to the String class is created in the heap.

if your question is "how many objects are created? " then the answer is 1

Regards,
Anu
Java expressions always evaluated from left to right. There are some precedence rule. Please refer JLS section 15.7.1 @http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#18498
[ May 19, 2004: Message edited by: Anuradha Shanmugam ]
Rajani,

According to JLS one of the Escape sequence type are using octal literals.

There are three formats of Octal Escape sequences.

1) \octaldigit
2) \octaldigit octaldigit
3) \zerotothree octaldigit octaldigit

For more information on EscapeSequence refer JLS @ http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#101089

By the way I dont know how much we need to cover for SCJP 1.4

Regards
Hi Sandeep,
I have a related note from "Sun Certified Programmer & Developer for Java 2 Study Guide (Exam 310-035 & 310-027)"
book by Kathy Sierra and Bert Bates on 2nd chapter under static member declaration.
The note is "Another point to remember is that static methods can't be overridden! This doesn't
mean they can't be redefined in a subclass, as we'll see a little later when we look at
overriding in more detail, but redefining and overriding aren't the same thing."
For my understanding the child class only can redefine static methods and those need not follow overriding rules.
[ May 12, 2004: Message edited by: Anuradha Shanmugam ]
Hi Sridhar,
Sun website got a Free Quiz section. This doesn't match completely as the real examination.
http://java.sun.com/learning/quizzes/index.html
Hey Cliff/ Barron,
The sentence 'You can say with certainty, for example, that any code that uses the keyword new will (if it runs successfully) cause the class constructor and all superclass constructors to run' has got nothing to do with the thread constructor.
The thread constructor only be called when you say new Thread() or instantiate any of its subclasses.
In this statement 'Thread[] threads = new Thread[5];' new operator will invoke the classes in the order as array --> Object. The Thread class is not in picture at all.