-2

can someone please explain the static keyword? when a method is static what does it mean?

Votes + Comments
Persuing Masters and you can't Google a simply keyword like this?
4
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by karthi.k.s
0

That's an extraordinary question to ask like that. If you were a complete beginner you would get a flood of replies introducing you to Google. But you seem to be in a programme for a Master's degree, so no excuses. This is on a par with someone doing a Master's in English Literature posting "can someone tell me who Shakespeare is? Has he written a lot of books?".
What research have you done on this yourself? Have you read any tutorial media on Java at all? What exactly is the thing that's confusing you after doing your research?

-1

one of the reason which i know is you can call the method even without creating the object for the corresponding class to which it belongs..

Votes + Comments
vague description which is not completely correct. the above provided answers would 've helped him getting a decent understanding of the static keyword.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.