Loading...
Engaged Employer
can class run without main method ?
Anonymous
Yes we can use Static block instead
from java 1.8 we can not run with static block
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalized job recommendations and updates by starting your searches.
Get actionable career advice tailored to you by joining more bowls.
Check out your Company Bowl for anonymous work chats.