29) Java StringBuilder and Character Class | Java with Ali

preview_player
Показать описание
This video looks at a simple application using StringBuilder class append, insert and delete examples and the Character class static methods like digit and forDigit to convert a character to digit and a digit to character. Remember boxing that we spoke about previously - Java automatically converts these char literals to Character objects - a process known as autoboxing. We used boxing already when we used the Integer class on the primitive int type.

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.
Abstract = not planning to create a new concrete object i.e. it cannot be instantiated which means you cannot create a new object from it.
Static variable = sharing a variable across multiple objects i.e. in a computer game every player needs to know how many enemies are on screen.
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. Use of the principle of least privilege is recommended, for example, using accessor (getter) as well as mutator (setter) methods instead of changing to protected is also recommended.

- - - - - - - - - -

SUBSCRIBE:

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

- - - - - - - - - -

GitHub REPOSITORY:

- - - - - - - - - -

RELATED VIDEOS:

#JavaWithAli #Java #JavaProgramming #FreeJavaTutorials #JavaTutorials #JavaForBeginners #JavaForIntermediates #JavaFreeTutorials #FreeJavaProgrammingTutorials #FreeJavaOnlineTutorials #code #coding #learntocode #100DaysOfCode #WomenInSTEM #WomenWhoCode #womenintech #programming #SoftwareEngineering #STEM #Android #developer #development #softwaredevelopment #appdevelopment #careerdevelopment #softwaredeveloper
- - - - - - - - - -

UDEMY course:

I am so thankful that I had a chance to create this series as well as a Udemy course. I am so delighted for the great reviews from the free course. The premium course is now also available as of today and has over 56 lectures with a lot of extra content in terms of self-review questions, exercises and testing yourself throughout the course. It also comes with a certificate of completion.

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:
YouTube:
Рекомендации по теме
welcome to shbcf.ru