What is static variable and static method?
Answer Posted / bijeesh.p
A static variable ,also reffered to as a class variable
which exists across instances of a class.
By default,all variables are created as instance
variables(A variable related to a single instance of a
class.Each time an instance of a class is created,the
system creates one copy of the instance variables related
to that class).To make a class variable,you must explicitly
declare the variable static.
| Is This Answer Correct ? | 16 Yes | 18 No |
Post New Answer View All Answers
Why doesn't the java library use a randomized version of quicksort?
How do you call a reference in java?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
What is comparable and comparator interface? List their differences
What do you understand by the term string pool?
Can we override compareto method?
Describe the process as to how substring() methodology mechanisms in java.
What are the different data types in java?
Difference between string s= new string (); and string s = "abv";?
What do you understand by looping in java? Explain the different types of loops.
Tell us something about an iterator.
When throw keyword is used?
What is byte code and why is it important to java’s use for internet programming?
Why string objects are immutable in java?
Is java a compiler?