What is static variable and static method?

Answer Posted / radhika.rangu

Static variable:-static variable is a variable whose single
copy is shared by all the objects of a class.
Static Method:-static method is a method.It is used to
declare the keyword called static.No need to create the
Objects.It is called without creating the object

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is vector synchronized in java?

563


What is yield () in java?

488


What does index mean in java?

544


What is unsigned char?

635


What is incompatible types in java?

547






What is a method declaration?

519


What are assembly attributes?

555


What is the list interface?

614


What is JFC?

720


What is the same as procedures?

542


What is the map interface in java programming?

594


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

548


What is floating data type?

549


Are primitives objects?

572


Which is fastest collection in java?

572