jQuery in Action, 3rd edition
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes pl help - urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "pl help - urgent" Watch "pl help - urgent" New topic

pl help - urgent

padmini Babu
Ranch Hand

Joined: Feb 10, 2001
Posts: 103
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.
What is the diff in declaring a method and defining a method??
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
Why is this urgent?, seems no more urgent than ever other question around here?

SCWCD: Online Course, 50,000+ words and 200+ questions
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

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.

Junilu - [How to Ask Questions] [How to Answer Questions]
kajal sharma

Joined: Oct 04, 2000
Posts: 22
Anshul Manisha
Ranch Hand

Joined: Apr 17, 2001
Posts: 74
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.

AM<BR> <A HREF="mailto:anshulmohan@rediffmail.com" rel="nofollow">anshulmohan@rediffmail.com</A>
I agree. Here's the link: http://aspose.com/file-tools
subject: pl help - urgent
It's not a secret anymore!