Pergunta de entrevista da empresa Internet Brands

Basic knowledge in the language you are familiar with. For example, what is the difference between abstract class and interface in java

Resposta da entrevista

Sigiloso

7 de jul. de 2016

Abstract class - 'abstract' keyword is mandatory to declare a method as an abstract method. - cant be instantiated - it can have both abstract and concrete methods. - A class can extend only one abstract class Interface - interface can have only abstract methods - A class can implement any number of interfaces - interface has methods with declaration but not definition, child classes which will implement the interface should define the methods from the interface - methods in interface a public abstract by default