RUVIDEO
Поделитесь видео 🙏

?interface in java | Multiple Inheritance in Java using Interface | Theory + Practical Examples

In this video, I explained and showed How to use and when to use interface in java program. With Real-time Examples. In this video, I Explained how to achieve abstraction using interfaces. And How to achieve multiple inheritance in java using interfaces. And difference between abstract and interfaces in java, which one we need to use in real-time. And major changes in the interface in java 1.8 and 1.9 version onward.

Check more details about abstract class & abstract methods: https://youtu.be/ZQB_wxQR8G0

Eclipse Download & Install: https://youtu.be/jZ8k883uL1Y
Java Download & Install: https://youtu.be/YU8OnNPF6Fk


OOPS in JAVA: https://youtu.be/fydfMhR7DKo
Methods in JAVA: https://youtu.be/tu25oGiCXtc
Constructors in java: https://youtu.be/De45-uD5AiY
this keyword in java: https://youtu.be/VoKqseeyd9I
inheritance(IS-A) in java: https://youtu.be/5LdNhEQkQW8
Association(HAS-A) in java: https://youtu.be/Q1yeNaPXiYk
Polymorphism in java(Compile time/overloading): https://youtu.be/bP_1Q8en2i8
Polymorphism in java(Runtime time/overriding)https://youtu.be/RDsNPFDPc-Y
super keyword in java: https://youtu.be/LzeXXoMZ_7k
Abstraction in java: https://youtu.be/ZQB_wxQR8G0
interface in java: https://youtu.be/l5mQxGsdXpI
Access Modifiers in java: https://youtu.be/DqxlucvgCXs
Encapsulation in java: https://youtu.be/cLNMMA_FHQA
Topics Covered
=============
0:00 introduction
01:00 ways to achieve abstraction in java
03:30 interface creation in java
10:40 interface creation in Eclipse
12:00 Relationship between classes and interface
12:30 implements keyword in java
15:00 can we create object for an interface ?
18:00 Relationship b/w interfaces
21:00 How to achieve multiple inheritance using interfaces
28:00 abstract class
30:00 Relationship between classes and interface with diagram
33:00 variables in an interface
37:00 constructors in an interface?
38:00 java 8 features in an interface
41:00 why static and default methods in an interface
46:00 java 9 features in an interface
47:00 why we can't achieve 100% abstraction
49:00 Tag or markable interface
53:00 Runnable interface in java




Abstraction in java
-------------------
Abstraction is a process of hiding the implementation details
and showing only functionality to the user

Abstraction is a process where you show only “relevant”
data and “hide” unnecessary details of an object from the user.

Ex:- TV Remote, Car

why & Usage :- Security


Interface in Java
-----------------
The interface looks like a class but it is not a class.
Defining a Contract means to create an Interface.
The class that implements the interface must implement all the methods of that interface.
Also, the java programming language does not allow you to extend more than one class,
However, you can implement more than one interface in your class.
An interface can not implement another interface.
It has to extend the other interface
Tag or Marker interface in Java

After Java 8, Interface definition changes a lot

Key points:
--------
1) We can’t instantiate an interface in java.
That means we cannot create the object of an interface

2) The interface provides full abstraction as none of its methods have a body(1.7).
On the other hand, the abstract class provides partial abstraction as it can have
abstract and concrete(methods with the body) methods both.

An interface is 100% abstract class(Implicitly). After Java 8 it doesn’t hold true.


3) implements keyword is used by classes to implement an interface.

4) While providing implementation in a class of any method of an interface,
it needs to be mentioned as public.

5) The class that implements an interface must implement all the methods of that interface,
else the class should be declared abstract.

6) All the interface methods are by default abstract and public.

7) Variables declared in the interface are public, static, and final by default.

8) Interface variables must be initialized at the time of declaration otherwise compiler will throw an error.

Java 8 introduces a concept of the Default Method. Now an Interface can contain a Method
body if it is not abstract. A method inside Interface can contain either “abstract”, “static” or “default” modifier.

Tags:
The java programming language in Telugu,
java programs in Telugu Explanation,
Free java Telugu course,
Java in Telugu,
java in Telugu PDF,
java in the Telugu language,
java tutorial in Telugu,
learn java in Telugu,
java in Telugu for beginners,
compile-time polymorphism,
Static Polymorphism,
Runtime polymorphism,
Dynamic Method Dispatch,
Polymorphism in java,
What is Polymorphism in java,
Types of Polymorphism in java,
Attach JDK source in Eclipse,
source not found in eclipse,
interface in java,
abstract vs interface,
core java in Telugu.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «?interface in java | Multiple Inheritance in Java using Interface | Theory + Practical Examples», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.