What do you want to save?
Add Code snippet
New code examples
-
C 2022-02-19 19:55:11
What is Array?
• An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. You have seen an example of arrays already, in the main m... Add solution -
Java 2021-10-19 09:19:09
arraylist how to add at 0 java
//The add(int index, E element) method of Java ArrayList class //inserts a specific element in a specific index of ArrayList. //It shifts the element of indicated //index if exist and subsequent elements to the right. List<String> colors = new Ar... Add solution -
Java 2021-09-10 16:46:02
find minimum number in array java
// Find minimum and maximum values in a java array public class MaxMinValueInArray { public static void main(String[] args) { int[] arrNumber = new int[]{50, 150, 250, 500, 160, 530}; int maximum = maxNumber(arrNumber); System.out... Add solution