What are your doubts? What did you try and what problems did you encounter?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
What should the get method return? If it's a constant value, the answer is obvious, so I presume the return value varies based on something. I would suggest explaining to us what that something is so we can help you with it.
getmethods return value is String. It's in the Singleton class and it has getInstance(). I have a plan to write separate java pgm to access this get method that return String. How can i access this getmethod() ?