File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 - OCEJPAD 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
use of static block and constructor
Static Constructor in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015