[ajug-members] Explain the Method Header in more detail
Summers Pittman ℝ
secondsun at gmail.com
Thu Nov 17 11:06:59 EST 2011
>
> Are you serious?
I am sure he was.
You are asking a question to the language group without making an effort to
> figure out what is the very first letter of the alphabet is?
It seems like he did enough basic research to ask a beginners question.
How about opening a 101 book at least once?
He probably did. It probably said Deitel on the cover.
And, isn't this trivially googlable as well?
Most of the answers I found on my trivial Google assumed a certain amount
of foreknowledge of programming. If you are an absolute beginner they are
daunting and filled with many technical terms.
Furthermore, Google isn't a conversation. By asking a question in a public
forum about Java, Tac was seeking a conversation and someone to help him
understand. Fortunately he received useful instruction and comments before
you posted your message. In the future please try to be more respectful of
people who may be trying to learn.
Summers Pittman
>>Phone:912 293 2314
>>Java is my crack.
>>AJUG Web Chair
On Thu, Nov 17, 2011 at 9:54 AM, Igor Tovstopyat-Nelip <igor.tn at gmail.com>wrote:
> Are you serious? You are asking a question to the language group without
> making an effort to figure out what is the very first letter of the
> alphabet is? How about opening a 101 book at least once? And, isn't this
> trivially googlable as well?
>
> On Thu, Nov 17, 2011 at 1:55 AM, TAC2010 <tac2010 at comcast.net> wrote:
>
>> To my fellow AJUGS,
>>
>> Can you explain in a better detail the Main () Method Header:
>>
>> *public static void main(String [] args)*
>>
>> *public *= the modifier that can be viewed and accessed by other
>> classes. Main (method) must use the "public" accessor
>> so the run-time system can call it.
>> *static *= a method that does not use instance attributes or methods. It
>> only uses parameters , local variable, and static constants,
>> and other static methods in the same class.
>> *void* = the data return-type of the method. It does not return any
>> values; it is not empty though
>> *main* = What is this??????
>> *String [] *= an array of strings
>> *args* = Arguments
>>
>> _______________________________________________
>> ajug-members mailing list
>> ajug-members at ajug.org
>> http://www.ajug.org/mailman/listinfo/ajug-members
>>
>>
>
> _______________________________________________
> ajug-members mailing list
> ajug-members at ajug.org
> http://www.ajug.org/mailman/listinfo/ajug-members
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ajug.org/pipermail/ajug-members/attachments/20111117/cf1e492d/attachment.html
More information about the ajug-members
mailing list