what is the difference between statis block and static
variable
Answer Posted / kiran
static variable are access and executed with objects or
methods(static or non-static) its a dependent.
static block executed and access independently when the
program starts
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is integer valueof?
How to invoke external process in java.
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
Lowest Common ancestor in a Binary Search Tree and Binary Tree.
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
What causes memory leaks in java?
How do you get length in java?
What do you mean by platform independence of Java?
Is there a way to increase the size of an array after its declaration?
What does the append?
what is meant by Byte code concept in Java?
define polymorphism in java
State some advantages of java?
What is array class in java?
What is the difference between a window and a frame in java programming?