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

What is sorting algorithm in java?

516


How do you invoke a method?

535


How do you test a method for an exception using junit?

527


What is string syntax?

544


What is string intern in java?

545






Why java is call by value?

542


What are the fileinputstream and fileoutputstream?

565


Is 0 a prime number?

564


What are singleton services?

487


What is a pattern what is an anti pattern?

502


What is the functionability stubs and skeletons?

679


Explain all java features with real time examples

1203


How do you use compareto?

544


What is boolean flag in java?

570


Explain java heap space and garbage collection?

576