Srinivasa Rao

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

Recent posts by Srinivasa Rao

Hi Amit,
Regarding this issue Ajith has posted a mail in FAQ's. It seems they logged this issue with SUN. Correct me if I am wrong.
Thanks,
~Srini
Kathy,
Thank you so much for your detailed explanation to my problem.
Thanks a lot,
~Srini
I have doubt regarding char range.
Following error message I'm getting when I run the code below it
Incompatible type for =. Explicit cast needed to convert int to char.
{
char c;
c = 65536;
System.out.println("Value of the character is" + c);
c++;
System.out.println("Value of the character is" + c);
}

but, code runs successfully when code is like this

{
char c;
c = 65535;
System.out.println("Value of the character is" + c);
c++;
System.out.println("Value of the character is" + c);
}
isn't that char range is from 0 to 65536



Congratulations!
That was really a good score. Could you please send me your notes to srini_t@yahoo.com
Thanks
~ Srini
23 years ago
Thank you guys ! I got the concept.
Hi psr,
Congratulations!. Keep it up.
~Srini
Sean,
Thank you so much.

could you help me why the following code is not giving me any output.
class equality {
public static void main(String args[])
{
StringBuffer s1 = new StringBuffer("Java");
StringBuffer s2 = new StringBuffer("Java");
String s3 = "Java";
String s4 = new String(s3);
if (s1 == s2)
System.out.println("s1 == s2" );
if (s1.equals(s2))
System.out.println("s1 equals s2");
if (s1.equals(s3))
System.out.println("s1 equals s3");
}
}

~Srini
can anybody give me exact difference of == and equals.
~ Srini
can anybody give me exact difference of == and equals.
~ Srini
Congrats psethura !!!

Srini
Congratulations! Howard
Srini
Satish,
Congratulations!
Srinivas
Nalini,
Congratulations on your certification
srinivas

Originally posted by maha anna:
Hi Srinivas,
One small request. Please use the 'Post Reply' Button when you want to reply to a post in the same thread.
Generally a new thread is started for completetly new topic.
Good luck.
Thanks for your co-operation.
regds
maha anna


Hi maha anna,
Thanx for your corrections. CONGRATULATIONS on your certification.
Srinivas
Prabhu,
Thanx a lot. In future I wud like to share my doubts with all
u javaics.
Srini