C
Christian Bongiorno
I am at a point where it seems that an inner-inner class is in order
for what I am working on.
public class A {
private class B {
private class C {
}
}
}
Would this be considered bad form? If so, I have to make B a public
outter class eventhough I want to control the construction of B by
it's caller. If it's a private inner class, only the outter class can
construct it.
In other words, I only want A to be able to instantiate B, and B to
instantiate C
Christian
http://home.stny.rr.com/cbongior/resume/resume.PDF
for what I am working on.
public class A {
private class B {
private class C {
}
}
}
Would this be considered bad form? If so, I have to make B a public
outter class eventhough I want to control the construction of B by
it's caller. If it's a private inner class, only the outter class can
construct it.
In other words, I only want A to be able to instantiate B, and B to
instantiate C
Christian
http://home.stny.rr.com/cbongior/resume/resume.PDF