Question: Create a new spring starter project version 2.7.7 Create 2 controllers DemoControllerA and DemoControllerB For DemoControllerA , create a GetMapping method that returns a sum
Create a new spring starter project version 2.7.7
Create 2 controllers DemoControllerA and DemoControllerB
For DemoControllerA , create a GetMapping method that returns a sum of 2 integer numbers with the uri /sumOfTwoInts and another method that returns a sum of 2 double numbers with the uri /sumOfTwoDoubles
For DemoControllerB , create a GetMapping method that concatenates 2 strings with the uri /concatTwoStrings
Implement OOPS concepts while designing these end points subject - enterprise Java Development
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
