In this video we will discuss
1. If a class implements an interface but do not override all its methods then that class must be declared as abstract.
2. A class can be extended with another class and can also implements an interface.
class Rectangle extends Figure implemets Png, Jpeg
3. An interface can only be public or default,
it cannot be protected or private.
4. Java Nested Interface
---------------------
a) An interface, can be declared within another interface or class, is known as a nested interface or member interface.
b) Nested interface inside another interface
-----------------------------------------
1. nested interface with in interface is
by default is public. It cannot be protected
or private.
2. Every nested interface is static by default.
c) Nested interface inside a class
-------------------------------
The nested interface that defined inside a class must be accessed as
ClassName.InnerInterface
5. An interface can extend with other interface
Link for programs used in this video
https://github.com/krishankansal/Java...
Link for complete play list
• Java for complete beginners (Hindi): [Runn...
Nesta página do site você pode assistir ao vídeo on-line #049 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Programming Heist (Professor) 11 Julho 2023, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 82 vezes e gostou 3 espectadores. Boa visualização!