Learn Java Programming - Anonymous Inner Class Subclass Tutorial

preview_player
Показать описание
An anonymous inner classis a nested class defined without any name. An anonymous class is entirely dependent upon either a superclass or interface in order to work properly. This tutorial will focus on the version that dependent upon a superclass.
Рекомендации по теме
Комментарии
Автор

This is how academic programming courses should be taught. This man educates his pupils!

mrsloth-qwpt
Автор

Very accessibly. Respect. After two days' headache in "Thinking in Java".

blackcrusader
Автор

Hi Daniel @5:18 you refer to it as a "super class" which is technically incorrect... I think you meant to say "enclosing class" :) as "super class" is an inheritance concept (synonymous with "parent class")

AmmarRai
Автор

Every time I'm lost. I come here :)

joselosddrd
Автор

thanks, but why do you use the command prompt, why not use something like eclipse

laIIin
Автор

Thanks for the tutorial.  This just 'clicked' for me.

Michael-eoro
Автор

If the Tester class extends the superclass helloWorld, surely the Tester class should be written as class Tester extends helloWorld?

ruaidhri
visit shbcf.ru