/*
* SubMySingletonWKey.java
*
* Disclaimer:
* ZebraSoft.com disclaims all warrantees with
regard to documents/programs, including
* all implied
warranties. In no event shall ZebraSoft.com be liable for indirect or
* consequential
damages or any damages whatsoever resulting from loss of use, data or
* profits arising out
of the use of documents/programs.
*
* All content included on this site, such as
text, graphics, logos, button icons,
* images, audio
clips, video clips, digital downloads, programs, data compilations,
* and software, is
the property of ZebraSoft.com or its content suppliers and
* protected by United States and international
copyright laws.
*
* This site or any portion of this site may
not be reproduced, duplicated,
* copied, sold, resold, visited, or otherwise
exploited for any commercial
* purpose without
express written consent of ZebraSoft.com.
*/
package creational_patterns.my_singleton_w_key;
/**
*
* @author
*/
public class SubMySingletonWKey extends
MySingletonWKey {
/** Creates a new
instance of SubMySingletonWKey */
private SubMySingletonWKey() {
// does not compile
super();
}
// the following will not
compile - error - MySingletonWKey has private
access
// private SubMySingletonWKey() {
// }
}