Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

rest api client url not connecting to the database in spring boot


		int result;
		//Method for addition
		public int add(int num1, int num2){
			result = num1+num2;
			return result;
		}
		//Method for subtraction
		public int substract(int num1, int num2){
			result = num1-num2;
			return result;
		}
		//Method for multiplication
		public int multiply(int num1, int num2){
			result = num1*num2;
			return result;
		}
		//Method for division
		public float divide(int num1, int num2){
			result = num1/num2;
			return result;
		}
 
PREVIOUS NEXT
Tagged: #rest #api #client #url #connecting #database #spring #boot
ADD COMMENT
Topic
Name
7+5 =