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...
On this page of the site you can watch the video online #049 with a duration of hours minute second in good quality, which was uploaded by the user Programming Heist (Professor) 11 July 2023, share the link with friends and acquaintances, this video has already been watched 80 times on youtube and it was liked by 3 viewers. Enjoy your viewing!