Java Lecture 16: Single dimensional array in Java

preview_player
Показать описание
In this video, I discuss the one-dimensional array (or, single dimensional array) of primitive data types in Java. By watching the video, the viewer will become familiar with how to create, initialize, and use a single dimensional array. 

The items I discuss in this lecture are as follows:
1. Why do we need an array variable?
2. How can we declare an array of a primitive data type?
3. How can we initialize the array with values? 
4. Example usage of an array: Sum the numbers stored in an array.

Happy programming! Thank you.

Dr. Shahriar Hossain and Dr. Monika Akbar
Рекомендации по теме
welcome to shbcf.ru