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
Mention some interfaces implemented by linked list in java.
What is derived datatype?
What is object data type?
Is array a class?
Is null an object in java?
Explain the difference between map and flatmap stream operation?
What is comparator in java?
Can we declare a static variable inside a method?
What is the use of StringTokenizer class?
How do you pass by reference?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
What is array and arraylist in java?
Is null function in java?
Which graphs are functions?
How does hashset work in java?