Sunday, August 26, 2018

Frequently Asked Coffee Interview Questions Business Office - 4

| Sunday, August 26, 2018
Part 4

16 : Can nosotros overload static methods? 

Answer : Yes.. There is non whatsoever restriction to overload static methods. We tin post away overload static together with non static methods inwards java. VIEW MORE on overloading inwards java.

17 : Can nosotros operate somebody fellow member of bring upwardly class inwards sub class?

Answer : No.. It volition non permit to operate somebody members similar somebody method, variable of bring upwardly class inwards little class. Private members are accessible solely within same class. VIEW MORE close class modifiers.

18 : What is an interface inwards java?

Answer : An interface is a bluish impress of a class which tin post away concur abstract methods (Methods without implementation) only. It creates Rules To Follow construction for class where It Is Implemented. We tin post away make 100% abstraction using interface inwards java. READ MORE close interface inwards java.

19 Can nosotros access protected method of bring upwardly class inwards sub class? 

Answer : Yes.. We tin post away access protected members of bring upwardly class inwards all it's sub classes together with classes within the same package. VIEW EXAMPLE on how to access protected method inwards sub class.

20 : What is an array inwards java?

Answer : An array is container object inwards coffee which tin post away concur fixed give away of values of same type. VIEW ARTICLE on array.

Related Posts