Online Java Escape Unescape

Input data
bfotool loadding
Output data
bfotool loadding

Java Escape Unescape għodda jgħinek biex jaħarbu u Unescape Java string meta inti tixtieq li l-output Java direttament mhux interpretat mill-browser.

Kif taħrab/Unescape Java?

  • Biex Escape/Unescape id-data Java tiegħek żid/kopja u paste d-data Java fl-input.
  • Tista 'wkoll tagħbija d-dejta Java mill-url billi tikklikkja l-buttuna jew tagħbija d-dejta Java mill-kompjuter billi tikklikkja l-buttuna.
  • Ikklikkja l-buttuna 'Escape' jew 'Unescape' biex tipproċessa d-data.
  • Ladarba ssir il-konverżjoni tista 'tniżżel il-fajl billi tikklikkja l-buttuna.

Dejta tal-Input

public static void main(String[] args) {
	System.out.println("length array: ");
	Scanner sn = new Scanner(System.in);
	int n = sn.nextInt();
	int[] a = new int[n];
	for (int i = 0; i < n; i++) {
		System.out.println("Enter a[" + i + "]:");
		a[i] = sn.nextInt();
	}
	
	System.out.println("");
	for (int i = 0; i < n ; i++) {
		System.out.print(a[i] + " ");
	}
	 System.out.println("");
	int j = 0;
	for (int i = 0; i < n / 2; i++) {
		if (a[i] == a[n - 1 - i]) {
			j++;
		}
	}
	if (j == n/2) {
		System.out.println("Array");
	} else {
		System.out.println("Array");
	}
}

Wara l-Ħarba

public static void main(String[] args) {\r\n        System.out.println(\"length array: \");\r\n        Scanner sn = new Scanner(System.in);\r\n        int n = sn.nextInt();\r\n        int[] a = new int[n];\r\n        for (int i = 0; i < n; i++) {\r\n            System.out.println(\"Enter a[\" + i + \"]:\");\r\n            a[i] = sn.nextInt();\r\n        }\r\n        \r\n        System.out.println(\"\");\r\n        for (int i = 0; i < n ; i++) {\r\n            System.out.print(a[i] + \" \");\r\n        }\r\n         System.out.println(\"\");\r\n        int j = 0;\r\n        for (int i = 0; i < n / 2; i++) {\r\n            if (a[i] == a[n - 1 - i]) {\r\n                j++;\r\n            }\r\n        }\r\n        if (j == n/2) {\r\n            System.out.println(\"Array\");\r\n        } else {\r\n            System.out.println(\"Array\");\r\n        }\r\n    }