Master Arrays in Java in Just 9 Minutes! ๐
Quickly learn everything about Java arrays with this easy-to-follow 9-minute tutorial. Perfect for beginners looking to boost their coding skills!

Bro Code
40.8K views โข Dec 5, 2024

About this video
#java #javatutorial #javacourse
import java.util.Arrays;
public class Main {
public static void main(String[] args){
// array = a collection of values of the same data type
// * think of it as a variable that can store more than 1 value *
String[] fruits = {"apple", "orange", "banana", "coconut"};
//fruits[0] = "pineapple";
//int numOfFruits = fruits.length;
//Arrays.sort(fruits);
//Arrays.fill(fruits, "pineapple");
for(String fruit : fruits){
System.out.println(fruit);
}
}
}
import java.util.Arrays;
public class Main {
public static void main(String[] args){
// array = a collection of values of the same data type
// * think of it as a variable that can store more than 1 value *
String[] fruits = {"apple", "orange", "banana", "coconut"};
//fruits[0] = "pineapple";
//int numOfFruits = fruits.length;
//Arrays.sort(fruits);
//Arrays.fill(fruits, "pineapple");
for(String fruit : fruits){
System.out.println(fruit);
}
}
}
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
40.8K
Likes
878
Duration
9:09
Published
Dec 5, 2024
User Reviews
4.7
(8) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.