pankaj kumar


{ City } faridabad
< Country > india
* Profession * student
User No # 67543
Total Questions Posted # 0
Total Answers Posted # 1

Total Answers Posted for My Questions # 0
Total Views for My Questions # 0

Users Marked my Answers as Correct # 1
Users Marked my Answers as Wrong # 0
Questions / { pankaj kumar }
Questions Answers Category Views Company eMail




Answers / { pankaj kumar }

Question { Prolific, 97498 }

What is static variable and static method?


Answer

just im telling about
-> what is static method in java
Ans ->static method represent class behaviour and instance variable represent object behaviour ..but instance of a class is not require for the invokation of static varibale.
-> static data member of the class can be referd in a static block or methd.
-> static block and static method can directly invoked the static method ,nonstatic method can not directly by static method or static block.
->this and supper keyword can not be use in static block and method

Is This Answer Correct ?    1 Yes 0 No