Originally posted by Dale DeMott:
What tools can I use to trace a memory leak? Any Suggestions?
Originally posted by Asuthosh Borikar:
To summarize,
String sString = new String("blahblah");
String tString = new String("blahblah");
will ALWAYS result in two new objects.
But,
String sString = "blahblah";
String tString = "blahblah";
will only result in one new object.
Originally posted by Val Dra:
You can declare an array with [] ither way but there is something you must know
let's say you have an array declared like this
int arr[], f;
int []arr, f
in first declaration arr is declared as an array of integers but if is not in 2nd declaration arr is declared as array of integers and so is f . So when you have [] after the type the following declarations followed by , will result in an array reference
Originally posted by lakshmi Sailaja:
I need to execute a piece of java code once a week at a specific time. How do I do that ? Can anyone please tell me ?
Originally posted by RoshanDawrani:
2. GridLayout and GridbagLayout are there. (Robert and Heller book clearly says that it's not there but it is !!)
In the versions of the exam prior to the Java 2 Platform, the objectives related explicitly to the Flow, Grid, and Border layout managers. However, the objectives were modified with the release of the Java 2 Platform edition of the exam, and since then all AWT layout managers are possible candidates for questions.
Originally posted by Carl Trusiak:
How's that?
Originally posted by Dale DeMott:
Okay GURUs. What are some good technical interview questions and obviously their answers for Java. They should be pretty general questions. Thanks in advance!