Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java class

//	Example : TestClass (Can be predefined or user-defined)
public class TestClass {
  // properties
  private int id = 111;
  
  // constructor
  public TestClass(){
    super();
  }
  
  // method
  public void test(){
    // some code here
  }
}
Source by www.techopedia.com #
 
PREVIOUS NEXT
Tagged: #java #class
ADD COMMENT
Topic
Name
4+6 =