muthu bharathi wrote:I've one package, with in this package i've one method.
Actually, you have one package, and in that package, you have one CLASS, and in that CLASS, you have one method. In that method, you have a variable.
and here's the key thing... that variable only exists inside that method. Even if you create an object of type Schema (and class names should have their first letter capitalized), unless you are running that method, it doesn't make sense to talk about getting that value.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors