Difference between Static initialization and dynamic initialization?
Answers
Answered by
1
Answer:
Explanation:
A static method can be accessed directly by the class name and doesn't need any object. A static method cannot refer to "this" or "super" keywords in anyway. Java allows its programmers to initialize a variable at run time also. Initializing a variable at run time is called dynamic initialization.
Answered by
0
Answer:
A static method can be accessed directly by the class name and doesn't need any object. A static method cannot refer to "this" or "super" keywords in anyway. Java allows its programmers to initialize a variable at run time also. Initializing a variable at run time is called dynamic initialization.
Similar questions