Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

void method java

public class Y{
   public static void main(String args[]){
       X foo = new X();
       foo.setSubtotal();
   }
}

public class X{
public void setSubtotal ()
 {
   subtotal = Validator.getDouble(sc,"Enter subtotal:", 0, 10000);    

 }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #void #method #java
ADD COMMENT
Topic
Name
1+9 =