4. Question ID :970968090080 - this is a jqplus quest How can you declare a method someMethod() such that an instance of the class is not needed to access it and all the members of the same package have access to it. 5. What is the diff in declaring a method and defining a method?? ******* Thanks Padmini
padmini, You have to calm down. Relax a little. Over the last few days, you have been posting messages and marking them urgent. But you could have easily answered most of them yourself by writing a small program and trying it out. Not only do you lose out on a valuable learning opportunity by posting "urgent" questions instead, you also run the risk of not getting an answer from people who could but won't because they were ticked off by your lack of initiative. Sorry if this sounds harsh but that's just the way things are around here. As for your first urgent question, understanding what the static keyword does is one of the basic requirements for Java certification.
regarding your second question declaring and defining a method. I saw this in C programming language where we declared method up in the program and then defined the method body later. In java in abstract methods you only declare the method and when you provide an implementation for that class you define the method body. Infact I am seeing this term(method declare/define) for the first time in Java Anyway, best of luck for your exam tommorrow. take it easy and with a deep breath.