We need
• public: The method can be accessed outside the class / package
• static: You need not have an instance of the class to access the method
• void: Your application need not return a value, as the JVM launcher would return the value when it exits
• main(): This is the entry point for the application
If the main() was not static, you would require an instance of the class in order to execute the method.If this is the case, what would create the instance of the class? What if your class did not have a public constructor?
Monday, July 14, 2008
Thursday, July 3, 2008
Self Study
The following is a link from w3 schools for .NET framework
I would want you to go through this tutorial
http://w3schools.com/ngws/default.asp
I would want you to go through this tutorial
http://w3schools.com/ngws/default.asp
Subscribe to:
Posts (Atom)