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
  }
}
 
PREVIOUS NEXT
Tagged: #java #class
ADD COMMENT
Topic
Name
5+9 =