I instantiate a class called Company where I have a lot of the logic of my system, I'm unsure about what visibility the following objects should have....
public class Company {
private Scanner input = new Scanner(System.in);
private Employee[] employee = new Employee[100];
private Job[] job = new Job[100];
.......................
I'm almost convinced that the Scanner doesn't need to be private but I've heard everyone constantly saying "encapsulation", pretty much EVERYTHING should be declared private (apart from exceptional cases). But I'm not sure if stuff like Scanner needs to be declared private or public. The other two above I'm quite positive would be private from those listed above