Home » Interview » Technology

Inside an interface when should the variables be initialized?

Correct Answer: During the time of declaration

Explanation:

They should be initialized during the time of declaration itself otherwise it is a compilation eror


← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion