Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Learn Java arrays in 9 minutes! 🍎
Play lesson

Java tutorial for beginners ☕ - Learn Java arrays in 9 minutes! 🍎

5.0 (4)
40 learners

What you'll learn

This course includes

  • 12 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

#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); } } }

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere