Package samples.constructor
Class PublicConstructorWithDependencyDemo
- java.lang.Object
-
- samples.constructor.PublicConstructorWithDependencyDemo
-
public class PublicConstructorWithDependencyDemo extends java.lang.Object
This class is used to demonstrate that error messages are correct when a constructor is not found.
-
-
Constructor Summary
Constructors Constructor Description PublicConstructorWithDependencyDemo(Service service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aMethod()
Service
getService()
-