¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Java Interview

Armando Javier Revilla Español

Contenido del mapa

Java Interview

  1. Access Modifiers

    • you can’t create sub classes to that class which has only private constructors.
    • Inner classes can be private, but outer classes can not be private.
    • Outer class can not be protected
    • private inner Class can not be instantiated outside the Class
    • You can’t reduce the visibility of a method while overriding it.
    • A top level class may have only the following access modifier public and default
  2. Override and Overload

    • Static methods can not be overridden. If we try to override them they will be hidden in the sub class
    • we can change the return type of overriding method to a sub class
    • we can override a super class method without throws clause as a method with throws clause in the sub class but only with unchecked exceptions
  3. Inheritance

    • Super class field will be hidden in the sub class. You can access hidden super class field in sub class using super keyword.

Información

Descripción
Mapa Mental sobre Java Interview, creado por Armando Javier Revilla el 08/02/2017.
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?