sharon daze

Greenhorn
+ Follow
since Feb 08, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by sharon daze

Thanks
16 years ago
hi all ,

i am not getting concept of backed collections , i am referring K & B but how the ouput is getting displayed.
can you please explain me with example ?
Hi paul ,

This is the regular practice when you read a chapter and when you try to solve the examples of K&B ,they are quite difficult , but you have to go throgh it.

Thanks


My Blog about recent technology
Yes you are right.

So what do you think which simulator should i use, for SCJP.

Thanks
Hello all ,

while matching any string using matcher and compiler why find method always gets to the next token which do not exist in the macther argument.

See following code



This code produces output like :
0
1
2 34
4
5
6 88
8
9

why i get 9 as output there no element at 9th position ?


Thanks
Hello all ,

how i can increase a value of StringBuffer.
For example if i have "A" inside StringBuffer element then how i can increment it to next letter.

Thanks & Regards
Sharon
16 years ago
Yes thanks for your suggestion.

my blog My blog
Hello all ,

can anyone give me a good example of how versioning of classes will affect serialization that it will throw an exception.

Thanks

Hello all ,

String s = "abc";
String s2 = new String("abc");

if(s==s2) // this is true

then

String s = "abc";
String s2 = new StringBuffer("abc").toString();
if(s==s2) // this condition will be false

What is the difference between this two codes.



public class ImmutableStrings
{
public static void main(String[] args)
{
String one = "someString";
String two = new String("someString");

one = two = null;
}
}


How many object are ready to be garbage collection ?
I need explanation in detail.

Thanks
Hello all ,

can anyone give me a good example of how to use intern() method for string to refer to the same string object.

Thanks
Helllo all ,

is there any difference in

String s = "abc"

and String s = new String("abc");

in K & S book it is given that 1st statement will create one object and second will create 2 objects.

why is it so..



Hello all ,

can anyone explain how to study K & S sixth chapter it is too lengthy.

Name of chapter : Strings,I/O,Formating and parsing.

Thanks
HI



answer is : -c

do you need explanation on this.

reply me if you need it.

Thanks