Create a JAVA program using Method,Class,Constructor and Object

Create a JAVA program using Method,Class,Constructor and Object

1.Open Netbeans IDE.

2.GO to file>New Project and select the java application under java Catagories.

3.Give a project name(e.g.triangle are).then click on "finish".

4.Now write the following code on IDE.

Create a JAVA program using Method,Class,Constructor and Object



5.Click on "Run" icon and Get the result as below. 



No Response to "Create a JAVA program using Method,Class,Constructor and Object"

Post a Comment

leave a comment