Swami Vidhyananda

Greenhorn
+ Follow
since Apr 06, 2006
Merit badge: grant badges
For More
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 Swami Vidhyananda

Hey Anil,

It thought LINA was a GIRL
Hi,

Refering to www.dictionary.com,

Mutable means - That which is capable or subject to change or alteration.

A String in Java is atomic It cannot be changed. Once a String object is created on the heap, the literals (alphabets of the String) cannot be changed.

String s = "Sun";

String class does not have any methods to modify "Sun" to "Son"

To modify a String , you have to push the contents to a StringBuffer and then modify. The resultant is a NEW STRING object. However the source string remains untouched.

Thanks
Hi,

First we have to decide whether to use Environment Variables or System Properties. While programming in Java Environment, it is best to use System Properties instead of Env Variables.

Here is the reason,

System properties and environment variables are both conceptually mappings between names and values. Both mechanisms can be used to pass user-defined information to a Java process. Environment variables have a more global effect, because they are visible to all descendants of the process which defines them, not just the immediate Java subprocess. They can have subtly different semantics, such as case insensitivity, on different operating systems. For these reasons, environment variables are more likely to have unintended side effects. It is best to use system properties where possible. Environment variables should be used when a global effect is desired, or when an external system interface requires an environment variable (such as PATH).
17 years ago
Hi Sharmaji, Lina & Raja,

Thanks for the nice and warm welcome.

Cheers !
Thanks Saurabh & Sanjeev
Hi Fellow Ranchers,

I would like to welcome myself to the Ranch

To give a brief introduction, I have been with Java for the past 7 yrs.

Few yrs ago i bought all prep material for SCJP 1.2 but never gave it a good try. Then again after few yrs I bought all the material for SCJP 1.4 but never tried hard.

This time I am Gonna Face the Tiger .. Head on !

Sincere thanks to Sanjeev for motivating me and hey Saurabh.. Lets get this cracking ....

Wish to thank all Ranchers in anticipation that they all would help me to make it a smooth landing..

Warm Regards,
Vijay (a.k.a Swami Vidhyanada)