What is my problem or error in this code please?
Whenever I compile it it's used to show me : do not change the sqr method
The program should match the display task.
Please I need more details because I don't understand this sqr method.
package com.codegym.task.task01.task0127;
/*
Square of a number
*/
public class Solution {
public static void main(String[] args) {
//write your code here
int a = 5;
System.out.println(sqr(a));
}
public static int sqr(int a) {
System.out.println(a);
return a * a;
}
}