Very easy java question
I often see this
The above is not hard. aaa might be an instance of a certain class, and bbb() is the method included on the class.
myObject.mymethod(); <= this is not hard to understand.
But what about something like this?
what is the ccc in that? It would be neither the name of the instance nor the name of the method.
Here is an example.
What is layout and what is main in that situation?
and another example that comes to my mind is
what is out in the above example?
Thanks a lot, world-class experts @ Linux Questions!!
There are actually *several* different possibilities:
* member function "ccc()" of object "bbb" in namespace "aaa"
... or ...
* member function "ccc()" of object "bbb", which is itself a member of object "aaa"
There's also the idiom:
Subroutine may be a method.
|All times are GMT -5. The time now is 12:33 AM.|