Package samples.constructor
Class PublicConstructorWithDependencyDemo
- java.lang.Object
-
- samples.constructor.PublicConstructorWithDependencyDemo
-
public class PublicConstructorWithDependencyDemo extends java.lang.ObjectThis 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 voidaMethod()ServicegetService()
-