Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. class test {
  2. public void start()
  3. {
  4. //do something
  5. }
  6. public void stop()
  7. {
  8. //do something
  9. }
  10. }
  11.  
  12. public static void main(String [] args)
  13. {
  14. // args carry the command line arguments.
  15. }
  16.  
  17. public static void main(String [] args)
  18. {
  19. test obj = new test();
  20. obj.start();
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement