A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Constructor inside the static block
Joined: Feb 05, 2010
Mar 04, 2011 07:10:02
Is it possible to write the constructor inside the static block of code.
Joined: Oct 27, 2005
Mar 04, 2011 07:15:39
Why don't you try it yourself?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Constructor inside the static block
What is the order of Initialization
Static Constructor in Java
use of static block and constructor
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013