224 questions
You need to use an array to print out a decimal number as a hexadecimal numberThere is an error when you input the value with scanner and print it out in the if statement.I'd appreciate it if you watc...
I posted a question before, but I couldn't, so I'm uploading it again.The first method is ArrayList<HashMap<String,String>> al = new ArrayList<>();al.add(hm); // hm is Hashmap<Str...
int array1[100]int array2[100]When there are two arrays like thisWhy does a compilation error occur when you do array1 = array2 in the large number sentence?What should I do to make it normal without ...
public class HeapQuiz {int id = 0; public static void main(String []args) { int x =0; HeapQuiz [] hq = new HeapQuiz[5]; while(x <3) { hq[x] = new HeapQuiz(); hq[x].id =x; x = x +1; } hq[3] = hq[...
package practice_3;import javax.swing.JOptionPane;public class ArrayTest {public static void main(String[]args) { String output = ; int n[] = new int[10]; output += subscript | value\n; for (int i = 0...
Hello.I have a question about pointer and arrangement in C language.Why do I see the same number as 1 if I do p-myarr like the following code?If you calculate based on the output address value, you sh...
public static void main(String[] args) { int[] array1 = new int[4]; int[] array2 = new int[7];Arrays.equals(array1,array2);}I don't get an error even if I do this, but I'm not sure if I compared it pr...
You want to save 3D data as an array and print it out.The 3D data was stored in an array called volumeArray.But when I used print to print out the array, all the arrays were not printed out, and in th...
I wrote it in a script inside the body. $.ajax({ url: aaa.txt, success: function(result){ console.log(result); var rArr = result.split(\n); console.log(rArr); var ee = rArr.indexOf(01001); con...
int[ ] [ ] array = new int[3][3];whenIf the value of array[1][2] exists, can we make it true if it does not exist?
« | - 9 - | » |
© 2024 OneMinuteCode. All rights reserved.