adspace
What is static variable and static method?
Answer Posted / kutta
a variable declared inside a method is local to that method.
it can't be accessed outside the method. if a variable
declared in a class means its a global variable.if we
declare a variable with static keyword in a class means it
can be accessed by all the class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is java string pool?
What is a classloader in java?
Write a program to print count of empty strings in java 8?
What is the difference between equals() and == in java?
Write a program to find the whether a number is an Armstrong number or not?
How to create a base64 decoder in java8?
What is a constructor overloading in java?
Explain public static void main(string args[]) in java.
Realized?
What are the differences between heap and stack memory in java?
explain different ways of using thread? : Java thread
Is minecraft 1.15 out?
What is parsing in java?
What do you mean by an interface in java?
Differentiate between static and non-static methods in java.