Click here to Skip to main content
15,897,273 members
Home / Discussions / Java
   

Java

 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
CoderForEver26-Apr-11 3:26
CoderForEver26-Apr-11 3:26 
GeneralRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan26-Apr-11 10:15
mveRichard MacCutchan26-Apr-11 10:15 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Luc Pattyn26-Apr-11 4:05
sitebuilderLuc Pattyn26-Apr-11 4:05 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
jschell26-Apr-11 8:03
jschell26-Apr-11 8:03 
AnswerRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
David Skelly26-Apr-11 22:16
David Skelly26-Apr-11 22:16 
RantRe: What is the problem accessing "C" drive using a code (using import.io.*; )? Pin
Richard MacCutchan26-Apr-11 22:28
mveRichard MacCutchan26-Apr-11 22:28 
QuestionIf string is a immutable class then how come it is allowing us to make changes ? Pin
shiva.kore23-Apr-11 7:11
shiva.kore23-Apr-11 7:11 
AnswerRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
Luc Pattyn23-Apr-11 7:25
sitebuilderLuc Pattyn23-Apr-11 7:25 
"abc" and "def" are strings.
s1 is not a string, it is a variable holding a reference to a string. at first it refers to "abc", later on it refers to "def".

The string "abc" never got modified, it may still be alive (kept alive by another reference, as in the example below), or it is dead and garbage collectible.
string s1="abc"; 
string s2=s1;
s1="def";
Sop(s1);     // refers to "def"
Sop(s2);     // refers to "abc"


Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

GeneralRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
shiva.kore23-Apr-11 7:45
shiva.kore23-Apr-11 7:45 
GeneralRe: If string is a immutable class then how come it is allowing us to make changes ? Pin
CoderForEver23-Apr-11 20:40
CoderForEver23-Apr-11 20:40 
QuestionDesktop notification application in java Pin
krutikaji22-Apr-11 7:32
krutikaji22-Apr-11 7:32 
AnswerRe: Desktop notification application in java Pin
jschell22-Apr-11 14:02
jschell22-Apr-11 14:02 
GeneralRe: Desktop notification application in java Pin
Richard MacCutchan22-Apr-11 22:40
mveRichard MacCutchan22-Apr-11 22:40 
GeneralRe: Desktop notification application in java Pin
TorstenH.25-Apr-11 11:58
TorstenH.25-Apr-11 11:58 
QuestionIn-place Merge-Sort with doubly linked list Pin
Manfr3d22-Apr-11 1:35
Manfr3d22-Apr-11 1:35 
AnswerRe: In-place Merge-Sort with doubly linked list Pin
TheLaughingManAnDerTU25-Apr-11 9:03
TheLaughingManAnDerTU25-Apr-11 9:03 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d25-Apr-11 9:16
Manfr3d25-Apr-11 9:16 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
TheLaughingManAnDerTU25-Apr-11 10:29
TheLaughingManAnDerTU25-Apr-11 10:29 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d25-Apr-11 12:20
Manfr3d25-Apr-11 12:20 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA25-Apr-11 16:11
JavaStudent_LA25-Apr-11 16:11 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d25-Apr-11 22:46
Manfr3d25-Apr-11 22:46 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
TheLaughingManAnDerTU26-Apr-11 6:04
TheLaughingManAnDerTU26-Apr-11 6:04 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d27-Apr-11 0:05
Manfr3d27-Apr-11 0:05 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
JavaStudent_LA29-Apr-11 15:17
JavaStudent_LA29-Apr-11 15:17 
GeneralRe: In-place Merge-Sort with doubly linked list Pin
Manfr3d30-Apr-11 3:41
Manfr3d30-Apr-11 3:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.