The Artima Developer Community
Sponsored Link

Java Buzz Forum
Semi private constructors in Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Max Zone

Posts: 9170
Nickname: dzone
Registered: Jun, 2006 is a link-sharing community where member participation determines what gets published
Semi private constructors in Java Posted: Jan 16, 2007 5:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Max Zone.
Original Post: Semi private constructors in Java
Feed Title: java
Feed URL:
Feed Description: fresh java links for developers
Latest Java Buzz Posts
Latest Java Buzz Posts by Max Zone
Latest Posts From java

Have you ever needed a constructor which is mostly private? I sometimes do for unit testing, and use this solution

Read: Semi private constructors in Java

Topic: Singleton - to be only one Previous Topic   Next Topic Topic: Scatterbrain

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use