Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JOptionPane;
- class Names {
- public static void main ( String [ ] args) {
- int m ;
- for (m=0 ; ; ++m)
- { String S = JOptionPane.showInputDialog ("Enter the Word " ) ;
- if (S == " ")
- break;
- System.out.println( S ) ;
- }
- }}
Advertisement
Add Comment
Please, Sign In to add comment