What is difference between static method and static
variable?

Answer Posted / kalandi sahoo

static variable is uniqe copy of in memory.that is every
object is share the static variable.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which package has light weight components in java programming?

880


What is annotation in java?

782


Is java a virus?

719


Can vector have duplicates in java?

705


Can two objects have same hashcode?

739


Explain enumeration in java?

773


What is difference between path and classpath variables?

802


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1679


What are the differences between heap and stack memory in java?

764


Explain oops concepts in detail?

781


Difference difference paint() and paintcomponent()?

751


Which containers use a flowlayout as their default layout in java programming?

727


Explain the difference between protected and default access.

740


Can you explain the final method modifier?

763


Which variable is the independent variable?

770