What is static variable and static method?
Answer Posted / jai
One Copy of Static variable will be shared by multiple
instances.Static method can be called by the Class itself
without creating any instance where as the non static
methods cannot be called without the help of instances.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why doesn't the java library use a randomized version of quicksort?
Differences between external iteration and internal iteration?
What is scope & storage allocation of static, local and register variables? Explain with an example.
What do you mean by synchronized non access modifier?
Write a program to calculate factorial in java?
What is the difference between path and classpath variables?
Can we create a class inside a class in java?
What is the reason behind using constructors and destructors?
What are the three parts of a lambda expression? What is the type of lambda expression?
What is string builder?
Why arraylist is not synchronized in java example?
What is concurrent hashmap and its features?
Why is String immutable?
What are the major advantages of internal iteration over external iteration?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?