static variable is a class variable which value remains
constant for the entire class?? variable means value is
changed....hear value is not changed... why it is called
static variable

Answer Posted / kavita

Only variables marked as final cannot be changed.
Static variables memory is alloted once and shared by all the objects

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java a tool?

481


What is java listener?

502


what is direct link to download swing ebook,applet,ejb,core java

2071


Hi Friends. I want complete technical flow of j2ee project with following technologies. jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE layers .

4403


What should a junior java developer know?

479






What is use of final keyword in java?

504


How to invoke stored procedure in hibernate?

492


Give some advantages of orm (object-relational mapping)?

551


What is considered as a web component?

562


What is javaserver pages standard tag library (jstl)?

496


In DAO we are writting sql queries , how it is possible with creating and closing database connections.

1538


What is business logic?

535


What are web technologies in java?

451


Why do we use j2ee?

482


What are the main components of the j2ee application?

482