Quantcast
Channel: JavaPins - Stories tagged with design-patterns
Viewing all articles
Browse latest Browse all 2

The Wizard Design Pattern - Java Code Geeks

$
0
0
We all love wizards.... (Software wizards I mean). We are always happy to jump on those ''Next" buttons like we were dancing the funky chicken on our… well you get the point. So today we bring you your beloved wizard into your coding experience. Let's jump right into an example. Say you want to design a ConservativePerson class. import java.util.List; class ConservativePerson{ private boolean isVirgin; private boolean isMarried; private List
Pin it

Viewing all articles
Browse latest Browse all 2

Trending Articles