-1
這是我的代碼在類型prosedure_jsp的方法PRO(INT,INT)不適用於()的參數
<%@ page import="static java.lang.System.out"%>
<%!
void pro(int a, int b)
{
a = 1;
b = 3;
int luas;
luas = a*b;
out.print(a);
}
%>
<%
pro();
%>
和按摩錯誤是:
An error occurred at line: 16 in the jsp file: /prosedure.jsp
The method pro(int, int) in the type prosedure_jsp is not applicable for the arguments()
請幫我這個問題。
看來你並沒有真正理解參數的概念。 – Kayaman