Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Alllocate and release memory
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { System.out.println("Hello, World!"); int [] a ={2, 2, 2}; int [] b ={2, 2, 2}; int [] c = new int [3]; System.out.println(Arrays.toString (a)); System.out.println(Arrays.toString (b)); System.out.println(Arrays.toString (c)); for (int I=0; I <3; I++){ c [I]=a [I]*b [I]; } System.out.println(Arrays.toString (c)); a=null; b=null; c=null; System.out.println(Arrays.toString (a)); System.out.println(Arrays.toString (b)); System.out.println(Arrays.toString (c)); } }
run
|
edit
|
history
|
help
0
JAVA # Klavyeden girilen cümlede kaç adet "a" harfi var
DecoratedFrame.java
Java - Swap two numbers without using temp var
Queue implementation
ab
Java Array List
2.C
javaLP
boundary vs core
Abhay