Hi Sang,
 
I have a question on the first lab of lecture 2 (Getting input from 
keyboard).  In Exercise 2 on the JOptionPane example, you have created a 
new instance of InputFromKeyboardJoptionPane apart from the main method.  
What's the purpose of creating a self instance in this case?  I couldn't 
find relevant explanation from the lecture pdf file.
 

public class InputFromKeyboardJOptionPane {
*     *
*    /** Creates a new instance of InputFromKeyboardJOptionPane */*
*    public InputFromKeyboardJOptionPane() {*
*    }*

*     *
Cheers,
Angela

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to