I come from a java background, I know how to call methods from objects but would the following be impossible?
main(){
int v1=2;
int v2=3:
int sum;
sum = [Add: (int) v1, (v2)];
}
add ((int) v1, (int) v2)){
return v1+v2;
}
And my second question, How would I define a variable that is static throughout every instance of an object. For example, If i want the variable tax_rate to be .07 in every instance of an object.