Should a method be public or private?
A method should be private if it is only used by the object it belongs to.
But objects need to communicate with each other, so all methods to this purpose should be public.
Example: Let's say you have an object that controls a web server (a servlet) - call it Servlet. This object communicates with another object named 3DModeler which generates a 3D graphic of an atom. The 3DModeler object can have all kinds of private methods to help itself do the intense calculations, etc. involved in modeling an atom. However, it needs to have a public method to return a reference to the graphic after it models it. It also needs to have a public method that takes parameters regarding the atom so that it can model it in the first place. (e.g., It needs to know the periodic element, if it's an isotope, etc.)
Forgive my chemistry, it sucks, but you get the point :-)
To ensure encapsulation variables should be private and methods public..is that correct?
Yes. (With some exceptions... as is the case for everything. There is even more emphasis on this idea in the Spring framework, where private variables (dependencies) are set through setters/getters.)
Declared variables in a method are they private ...?
They're local to the method. They reside in the stack frame, and when the stack frame is popped they are gone to oblivion. (That is to say, when the method completes, they no longer exist.)
If I have a method which is private (also the variables are private if my reasoning is correct) , is that an example of encapsulation?
Encapsulation is an idea that applies to data - that is why the full word is "data encapsulation". It only makes sense in the context of the data being publicly accessible. The idea is that instead of the data itself being accessible, the data should be private and the way to access it should be through public methods.
The benefit of this is that if the data changes, the interface to the data stays the same, so all the changes to the code are local to the class and don't affect any other classes.