السلام عليكم
عندي برنامج التنفيذ صح لكن ما يعطي مخرجات مادري المشكلة وين لما اعطي هذا البرنامج واعطي تنفيذ كنترول + 1 ينفذ عادي بدون أخطاء
لكن عندما أعطي كنترول + 2 يعطيني رسالة يقول فيها :
the system cannot find the patch specified
import javax.swing.*;
public class Array10 {
public static void main(String args){
int A[] = new int[10];
for (int i=0;i < A.length;i++) {
String S = JOptionPane.showInputDialog("Enter Number");
A =Integer.parseInt(S);
}
System.out.println("A Array >>");
for (int i = 0; i < A.length;i++ ){
System.out.print(A + " ");
}
}
}