How to Write Your First Program in Java ?Creating Your First Java Program

import javax.swing.JOptionPane;
class Hello
{
public static void main(String args[])
   {
   JOptionPane.showMessageDialog(null,"Hello World!");
   }
}

0 comments: