Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

A doubt in Java

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>