JAVA8 Abstract Vs Interface

Published: 01 January 1970
on channel: codeWithVenky
77
4

A class can have a state which can be modified​
by non-abstract methods but an interface cannot have the state because they can't have instance variables.​

define constructors inside an abstract class, but you cannot define constructors inside an interface in Java.​

By using abstract class you can achieve only single level inheritance while multiple inheritance is possible though Interface​


On this page of the site you can watch the video online JAVA8 Abstract Vs Interface with a duration of hours minute second in good quality, which was uploaded by the user codeWithVenky 01 January 1970, share the link with friends and acquaintances, this video has already been watched 77 times on youtube and it was liked by 4 viewers. Enjoy your viewing!