Implementing an interface
Former user (Deleted)
- Follow these steps to implement an existing interface class in Eclipse
- Choose or create a folder in a java source directory to put the implementation class in
- Right click on that folder and select New -> Class
- Enter a Name for the implementation class (e.g. MyClassImpl)
- Click the Add button to the right of Interfaces:
- Enter the name of the existing interface class (all near matches should appear in the box below)
- Select the interface class in the Matching Types: box and click OK
- Under Which method stubs would you like to create? check the box marked Inherited abstract methods
- Note: All other checkboxes should be unchecked
- Click Finish to generate the new interface implementation class
{"serverDuration": 61, "requestCorrelationId": "fe54c48cc7394fba9359375a3766048a"}