15) Java instanceof and downcasting | Java with Ali

Pubblicato il: 22 aprile 2020
sul canale di: Java with Ali
127
9

We use the keyword instanceof and downcast the basepluscommissionemployee and casting operator.

REMEMBER:
API - Application Programming Interface. DAU - Define, Assign, Use. IDE - Integrated Development Environment. Composition design = more flexibility Inheritance uses the keywords extends (like it extends your family by inheriting members of the superclass into the subclass), super and override. SSI - Sequence, Selection, Iteration... LIFO - Last In, First Out and more acronyms to follow!
Access modifiers:
The 3 P's - for access modifiers Private, Public and Protected. We can use protected to allow a subclass access to a superclasses members but this is not recommended as it gives access to all classes within that package AND it allows direct access to manipulate the data of the superclass.

- - - - - - - - -

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 casting operators:    • Video  
Java primitive v reference types -    • 11) Java types and control statements part...  
Java garbage collection -    • 8) Java Garbage Collection and using stati...  
Java data structures -    • Video  
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 #Javainstanceof #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:
Odessa by LiQWYD & Scandinavianz
Soundcloud:
  / odessa-liqwyd-scandinavianz-al-release-cop...  
YouTube:
   • Odessa — LiQWYD & Scandinavianz | Free Bac...  


In questa pagina del sito puoi guardare il video online 15) Java instanceof and downcasting | Java with Ali della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Java with Ali 22 aprile 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 127 volte e gli è piaciuto 9 spettatori. Buona visione!