suma krishnan

Ranch Hand
+ Follow
since Oct 19, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by suma krishnan

congrats roy I'm planning to appear soon.ur tips will help me to pass.
Thanks
Suma.
23 years ago
Congrats Rajashree good score!
Thanks for your advice.

By
Suma
23 years ago
Thanks Ragu sivaramen I understood that but I need code example.
Finalize() can be overloaded and can't be overriding.
Correct me if I'm worng
Thanks anybody can give me some code example.
The overriding method can throw same checked exception as the original method.
The overriding method may not throw any checked exceptions.

somebody give me an explanation with code.Thanks
Thanks Valentin,I got it.
mind Q question
I did Little change,What will happen
String s="Java"
String s=s.replace(1,3)
Strng s=s.concat("Cup")
s +="Coffee"
Tpye in question
My ans is "Java Coffee"
Am I correct.

Awt
Yes its working sorry for delay.Thanks cristian.
Awt
One of my friend raised this question realy I don't know thats why I posted hear good know FEI NG.after posted this question
the only I came to know Show() is deprecated method.
Awt
import java.awt.*;
public class TestFlow extends Frame {
public static void main(String args[]) {
Panel p = new Panel();
Button b = new Button("NORTH");
Button b1 = new Button("SOUTH");
Button b2 = new Button("CENTER");
TestFlow t = new TestFlow();
t.setSize(150,150);
t.show();
t.add(p);
p.add(b);
p.add(b1);
p.add(b2);
}
}
Its compiling very well but runtime there is no output emptywindow is appearing. Can you give me clear notes or any useful website.
Thanks for your previous explantion.Wonderful ex.But still I
need more information.
public class TestFor {
public static void main(String[] args) {
int x, y;
for (x=1,y=0; x < 5; x++, y++) (x++);
{ y++; }
System.out.println("The value of x is =" + x);
System.out.println("The value of y is =" + y);
}
}
This will print x=5
y=3
x=1 |y=0
x=x++=2 |y=y++=1
x=x++=3 |
x=3 |y=1
x=x++=4 |y=y++=2 after terminated
x=x++=5 |{y++}will take incremented to 3.
x<5 for loop will terminate now.

1.one thing we have know {y++} different statement this will take notice after the loop terminated.
2.(x++);will take within the for loop method count,note the difference.
correct me If I'm wrong
Awt
Yes, It's working Thanks cristian.
Yes I got it sorry guys I din't notice second time result.Realy I'm sorry. Now I got it. Thanks
Awt
so Eventhough show()deprecated method,It will print result am I correct. If I m wrong what will print?I need final conclusion.