I
want to share how to Find for the last word from JOPTIONPANE version. You can use this code
but if you copy this code and paste in your blog/website, please insert this
link of article.
import javax.swing.JOptionPane;
public class Main {
public Main() {
}
public static void main(String[] args) {
String world1= "";
String world2= "";
String world3= "";
world1=JOptionPane.showInputDialog("Enter world 1");
world2=JOptionPane.showInputDialog("Enter world 2");
world3=JOptionPane.showInputDialog("Enter world 3");
String msg= world1 +" "+ world2 +" " + world3;
JOptionPane.showMessageDialog(null,msg);
}
}
0 komentar:
Posting Komentar