Win a copy of Fixing your Scrum this week in the Agile forum!

Matty Mathew

Greenhorn
+ Follow
since Jun 07, 2001
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 Matty Mathew

Hi
I am using Visual Age for Java. Could anyone please guide me in debugging a client/server application thru VA. I've already tried jdb and JSwat. However, these tools do not seem to support c/s applications. If there are some other tools too, I would appreciate it if u would let me know.
Thanx in advance.
Matty
Hi
I am using Visual Age for Java. Could anyone please guide me in debugging a client/server application thru VA. I've already tried jdb and JSwat. However, these tools do not seem to support c/s applications. If there are some other tools too, I would appreciate it if u would let me know.
Thanx in advance.
Matty
20 years ago
Thanks folks, u've been a help.
20 years ago
If a method has a return type, either a primitive or an Object type or any other user-defined type, what happens to the return value if it is not used.
For eg., if I have a hashtable MyHash, I would use the put() method to fill it up. The put() has a return type of Object. However, I don't need the return type so I ignore it. Does the returned Object occupy any memory space...or is it garbage collected if it is not referenced....what happens to this lost value??
20 years ago
Suppose, there is a piece of code -
SomeClass sc = new SomeClass(p1,p2,p3);
Assuming that the obj 'sc' is not used for any method calls of its class in the remaining code, how much of a difference would it make, in terms of memory utilization, if I make it -
new SomeClass(p1,p2,p3);
This, again assuming that this code will be executed on about 150 clients with each client executing the code a minimum of 10 times.
20 years ago
Thank you, will certainly let you know when I run some timing tests.
20 years ago
I've been using a testing tool to perform a static analysis of java source code and one of the most common observations reported is :
'Variable <variable_name> is initialized but never assigned to, could you declare it final?'.
This observation is reported on local variables which anyways are destroyed outside the scope of a method. My query is, would declaring a local variable final result in any overhead or does it improve the efficiency or is it just a precautionary measure?
20 years ago