previous | start | next

Answers

  1. System.in and System.out
  2. Yes, it works. Static methods can access static fields of the same class. But it is a terrible idea. As your programming tasks get more complex, you will want to use objects and classes to organize your programs.


previous | start | next