Java Tutorial # 19 | Interface in Java - Java Beginners Tutorial by Java9s

preview_player
Показать описание
Interfaces are simple but these play a very important role in Projects in promoting the loose coupling. This video tutorial explains about the all the things that you should know about the Interfaces in Java. Interfaces have abstract methods and their fields marked as public, static and final by default. I have explained the importance of the Interface with an example and how the interfaces provide a IS-A relationship for the concrete classes
Рекомендации по теме
Комментарии
Автор

Sir!! have Gone through many videos about Java. But nothing competes Your's. You have awesome Teaching Style and way of Explanation.!

baharulislaml
Автор

So far your videos are the best one I found. Thank you soo much for your help and please continue your work!

andrzejkasperek
Автор

Very clear and helpful! love your teaching style. Thanks!

congcheng
Автор

Very nice.. I am really impressed .. your videos are very simple to understand :) ..

vipinvermani
Автор

I am really gaining from your videos. Currently studying java on my own and its really tough

loveiskind
Автор

Thank you so much...with you i dont need code to understand. Bravo

Tali
Автор

Thanks for your education Sir. Can we please have your PPT so that it will handy  to go learn again and again.

learneverything
Автор

Explaination was really good !! Please use IDE's like Eclipse/Net Beans for writing code. It could be best approach

manitheja
Автор

@java9s please! let me know, my answers are correct or not.
1. in animal interface field age must be public or default so that implicitly it is set to public by the compiler.
2. In herbivorousAnimal class method eat is errorful. If it is abstract then the body should not be there and access modifier should be public in order to allow overriding.
3. In class Lion, the overriding error is present because of using weaker access modifier in the subclass.

souravmazumder
Автор

Amazing Obama analogy. Thanks for this great tutorial.

MrJavastudent
Автор

That was very good. Thank you for your time....

liudas
Автор

special thanks sir by keeping this videos ..and clearing my doubts
sir pls can u keep JDBC tutorials also...

Look_Eyy
Автор

Thanks :) really good job..Bcoz of yur videos i got interest in java..

nidhisharma-xcvn
Автор

Nice practice....
Sir can u explain me that if a class is abstract its method may or may not be abstract so tell me if the extended version of the class is not happy with the old method then we make the old method abstract but what happens when a class itself is abstract but its method are not

chiragsoni
Автор

very good tutorial. thank you very much

rosnawatiawang
Автор

Is there a reason you run javac against each file separately instead of just running javac Obama.java and letting javac figure out the sub classes etc?

maniakaz
Автор

you awesome sir, the way you give example is best.thanks sir 

ajeetpal
Автор

interface contains abstract methods only right but we can write main method with implementation in it. how?

prathameshrane
Автор

Great explanation!!! Samples are clear and accurate!!!

larrydongyuliu
Автор

u do lot of effort for us keep it up ., , thanks  sir

KUNALKUMAR-xjix