how to keep track of time after object is created in java -
i not sure how build setup in java
once make object, want object destroyed after amount of time. want destroy object when trigger it. object destroyed after set time sure can destroyed trigger. however, want object interactive other function until destroyed.
can me function use , how build it.
you can use
long timenow = system.currenttimemillis(); if need
Comments
Post a Comment