I saw many programs containing objects but in all of them object was declared in static method. So, I have a following doubt.
How to use the objects which are not defined in static methods ? Can you provide me a example in which object is defined outside static method ?