//int result = x + y;
//return result;
println "installed() is called!"
- //initialize()
+ boolean thisBoolean = false;
+ initialize(thisBoolean)
}
// This function is where you initialize callbacks for event listeners
- def initialize() {
+ def initialize(thisBoolean) {
// The subscribe function takes a input, a state, and a callback method
//subscribe(contact, "contact.open", openHandler)
//subscribe(contact, "contact.closed", closedHandler)
+ thisBoolean = true;
+ println "Boolean is now " + thisBoolean
println "initialize() is called!"
}
static void main(String[] args) {
- //Empty emp = new Empty();
+ Empty empty = new Empty();
//int result = emp.installed();
//println result;
- //emp.installed()
+ empty.installed()
+ int x = 5;
+ int y = 6;
+ int result = x + y;
+ println result
println "End of call!"
}
}