41) Using an array initialiser | Java with Ali

Veröffentlicht am: 26 März 2020
auf dem Kanal: Java with Ali
28
4

We are using an array initialiser (a comma-separated list of expressions enclosed in brackets) in this video - no need for the 'new' keyword and it already knows its own length. The 'new' operation happens 'behind the scenes'.
//initialiser list specifies the initial value for each element
int[] array = {32, 27, 64, 18, 95, 14, 90, 70, 60, 37};

REMEMBER: The 3 P's - for access modifiers Private, Public and Protected. API - Application Programming Interface. DAU - Define, Assign, Use. IDE - Integrated Development Environment. SSI - Sequence, Selection, Iteration... LIFO - Last In, First Out and more acronyms to follow!

- - - - - - - - -

SUBSCRIBE:

❤️SUBSCRIBE to the JWA channel for free Java videos every week and to support high-quality free Java tutorials for all! ❤️

   / @javawithali  

- - - - - - - - -

GitHub REPOSITORY:

https://github.com/mcnamaraali

- - - - - - - - -

RELATED VIDEOS:

Java composition (mutator and accessor methods) -    • 6) Java Composition | Java with Ali  
Java Package access -    • 9) Java Static imports, package access and...  
Java classes and objects summary -    • 10) Java Classes and Objects summary (inte...  
Summary of the beginner's series - excluding arrays -    • Summary of the beginner's series  
Introduction to arrays -    • 40) Introduction to arrays | Java with Ali  
Scope of Variables -    • 37) The scope of variables | Java with Ali  
Method overloading -    • 38) Method overloading | Java with Ali  
Types of errors and the conditional operator: Conditional operator ?: -    • 14) Types of errors and the conditional op...  

#Java #JavaProgramming #SoftwareDevelopment #JavaDevelopment #JavaWithAli #FreeJavaTutorials #JavaTutorials #JavaForBeginners #JavaForIntermediates #JavaFreeTutorials #FreeJavaProgrammingTutorials #FreeJavaOnlineTutorials
- - - - - - - - -

UDEMY course:

I am so thankful that I had a chance to create this series as well as a Udemy course. The Udemy course is limited to *two hours* and I am currently developing a *premium course* so that I can fill it with more content, programming exercises and self-review quizzes.

https://www.udemy.com/course/learn-be...

Like any language, it takes practice, with a computer language the feedback you get will come from your computer and so we're going to make sure you speak the right language to interact with it correctly and make it do what you want it to do! Let's make some applications together!


- - - - - - - - -
** Thank you for watching and all your support **
Dankeschön, tschüss und auf Wiedersehen!
Eure Ali :)
- - - - - - - - -


Video Editing Software:
Camtasia is the product used and music clips in the background of the videos under cc licence.
Music: Dreams by Joakim Karud   / joakimkarud   Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0 http://creativecommons.org/licenses/b... Music promoted by Audio Library    • Video  


Auf dieser Seite können Sie das Online-Video 41) Using an array initialiser | Java with Ali mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java with Ali 26 März 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 28 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!