/*****************************************************************/ /* Copyright 2013 Code Strategies */ /* This code may be freely used and distributed in any project. */ /* However, please do not remove this credit if you publish this */ /* code in paper or electronic form, such as on a web site. */ /*****************************************************************/ package com.cakes; public class BigEngine implements Engine { int horsepower; public BigEngine() { horsepower = 350; } @Override public int go() { System.out.println("The big engine is running"); return horsepower; } }