KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > test > junit > pkgtestcreation > test > TestClass2


1 /*
2  * TestClass2.java
3  *
4  * Created on September 8, 2006, 12:01 PM
5  *
6  * To change this template, choose Tools | Template Manager
7  * and open the template in the editor.
8  */

9
10 package org.netbeans.test.junit.pkgtestcreation.test;
11
12 import javax.naming.Name JavaDoc;
13
14 /**
15  *
16  * @author ms159439
17  */

18 public class TestClass2 {
19     
20     /** Creates a new instance of TestClass2 */
21     public TestClass2() {
22     }
23     
24     /**
25      * Hellos -- public
26      * @param name subject's name
27      * @return the hello statement
28      */

29     public String JavaDoc hello(String JavaDoc name) {
30         return "Hello" + name;
31     }
32     
33     String JavaDoc hello2(String JavaDoc name) {
34         return "Hello" + name;
35     }
36     
37 }
38
Popular Tags