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
What is the technique adopted to create an immutable class?
If try block is successfully executed, Then Is Finally block executed?
When object is created and destroyed?
Explain about member inner classes?
How do you use equal in java?
What is meant by stack and queue?
What is object cloning in Java?
How many types of literals are there in JAVA?
What are the advantages of inner classes?
What is the difference between hashset and treeset in java?
How do I remove a character from a string in java?
Is java a virus?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
Write a java program to check if a number is prime or not?
What is null data type?