File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pl help - urgent

 
padmini Babu
Ranch Hand
Posts: 103
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marcus Green
arch rival
Rancher
Posts: 2813
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is this urgent?, seems no more urgent than ever other question around here?
 
Junilu Lacar
Bartender
Pie
Posts: 6529
21
Java Linux Mac Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
kajal sharma
Greenhorn
Posts: 22
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Anshul Manisha
Ranch Hand
Posts: 74
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic