Class TestImpl

java.lang.Object
com.jk.core.factory.TestImpl
All Implemented Interfaces:
Test

public class TestImpl extends Object implements Test
This class provides implementation details for Test interface solely made for testing purposes.
Version:
1.0
Author:
Dr. Jalal H. Kiswani
  • Constructor Details

    • TestImpl

      public TestImpl()
      This method constructs an object of TestImpl.

      This method will increment the instances counter by one after creating the new object.

  • Method Details

    • hello

      public String hello()
      This method generates a greeting message along with counter and instance information.
      Specified by:
      hello in interface Test
      Returns:
      a string containing the fixed hello message.