Results 1 to 4 of 4
- 01-25-2009, 04:58 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 1
- Rep Power
- 0
Hello everyone and my first question
Hi everyone,
I'm newbie so umm forgive me if i'm wrong or something. I would love to ask all of you a question which has been bothering me since I started to learn Java. When we call a method in Java , people refers it to as passing a message. What if a particular method is static method ?? As far as I know, passing a message means a communication between to objects so if we call a method of class then we ain't creating any instance of object. So , in that kind of case, can we still refer to it as passing a message ?? I know this question is stupid but I can't find the right term for this process. Have a nice day, everyone.
- 01-26-2009, 07:20 AM #2
Member
- Join Date
- Jan 2009
- Posts
- 14
- Rep Power
- 0
Hi,
A static method is called without creating instance ( A separate allocated memory) but it is stored in some particular common memory , so you can still call the refering to static method as Passing a message.
- 01-26-2009, 07:20 AM #3
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
The accepted terminology is "method invocation", not "passing a message". Maybe that helps alleviate the confusion?
- 01-26-2009, 03:49 PM #4
Similar Threads
-
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
Question
By kenrocks in forum AWT / SwingReplies: 3Last Post: 12-09-2008, 05:07 AM -
Question
By ayoood in forum New To JavaReplies: 16Last Post: 05-21-2008, 02:23 PM -
a question
By slytheman in forum Java ServletReplies: 0Last Post: 03-12-2008, 04:11 AM -
JNI question
By javaplus in forum New To JavaReplies: 0Last Post: 12-24-2007, 10:18 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks