What is static variable and static method?
Answer Posted / qaisarayub
static variables are classes variables not instance
variables .They are instantianted only once for a
class.They are initialised at class load time.
Static method can be referenced with the name of the name
of the particular object of that class. That's how the
library methods like System.out.println works.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can a gui component handle its own events?
What is the meaning of immutable regarding string?
What is hotjava?
What is thread safe java?
Explain how can you debug the Java code?
What is Garbage Collection in Java
What is a heavyweight component?
What is definition and declaration?
State two differences between C and Java.
How to do encapsulation in java?
Can I overload to string method
What are the 3 types of loops in java?
What is the final class?
What is difference between calling start() and run() method of thread?
What is private static class in java?