What is static variable and static method?
Answer Posted / ravikiran(aptech mumbai)
static variable is a class variable which value remains
constant for the entire class
static method is the one which can be called with the class
itself and can hold only the staic variables
| Is This Answer Correct ? | 43 Yes | 63 No |
Post New Answer View All Answers
Explain the difference between extends thread vs implements runnable in java?
Which of the classes will have more memory allocated?
What is unicode datatype?
How to restrict a member of a class from inheriting by its sub classes?
What does t in java mean?
What are the java ide's? Explain
What is toarray method in java?
What is console based application in java?
Can we have any code between try and catch blocks?
What is the program compilation process?
How do you sing an Applet ?
What are the advantages of passing this into a method instead of the current class object itself?
Which is easier .net or java?
What is the difference between serializable and externalizable interface?
Explain try and catch keywords in java?