Class vs Instance vraiable
Having learned Java is clean and simple object-oriented language (OOL), but powerful; I've started learning Java by doing tutorial from Sun web site.
In doing exercise, I'm really confused on a question about the field/variable, class/instance variable
One of a nice feature of OOL is to hide detailed implementation and let programmer focus on algorithm to solve problem, rather than the code implementation.
I'd really appreciate to an explanation about why we care about the difference between class/instance variable and in what way this info does help programmer in coding to solve their problem