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.
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.
![]()  | 
5.Click on "Run" icon and Get the result as below. 
21:26
Unknown


 Posted in 
No Response to "Create a JAVA program using Method,Class,Constructor and Object"
Post a Comment
leave a comment