So , I wanted to know here, the cursor position of everytime, according to me, the cursor should start from main class, so , it should go mn.java and from there it should go xml file and get all the ids n all and then call the method(which is in hlo.java), so show1 is called , then what about
when cursor will go setmessage and getmessaege, means on which state?
In my opinion, you seriously need to look at java naming conventions. This applies to your classnames, methods, configuration xmls, etc.
Remember, in a practical scenario, the code written by you would mostly be maintained by some other programmer.