What is the difference between static and non-static
variables?
Answer Posted / pravallika
in case of static variables memory can be allocated only at once and these variables can access with help of class name but where as non static variables have memory can be allocated in separate locations.And these variables can access with help of object
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does opcode mean?
What is the difference between length and size in java?
What are loops in java?
write a program that list all permutations of ABCDEF in which A appears before B?
Is java still relevant?
What is a constructor, constructor overloading in java?
What does java ide mean?
What is difference between == equals () and compareto () method?
What is high level language in computer?
What is maximum size of arraylist in java?
What is meant by structural programming?
Explain public static void main(string args[]).
What is final method?
What are the 3 types of loops in java?
Explain what is encapsulation?