Hi,

Can someone  please help me to understand why we define the class
"NumWords" twice on this example:
public class NumWords {

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

The comment says that it creates a new instance of NumWords. But I am
not sure what is the purpose of doing that and how that helps in
subseqeunt coding. This example is part of the lab document for topic
"Control Structure"

Thanks,
Srini.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to