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

Fichas

Quiz Study 1302

marc30599 . Inglés 13 fichas

Fichas del conjunto (13)

  1. 1InheritanceDeriving from a parent class to a child class
  2. 2AggregationOne thing is apart of another thing
  3. 3Inheritance 2nd def.A specialized version of another thing
  4. 4Protected VisibilityLevel of visibility with access inside the class it was defined and any of its child classes
  5. 5Private VisibilityIs a level of visibility with access only to the class in which its defined.
  6. 6Public VisibilityVisibility with access everywhere
  7. 7What keyword denotes Inheritance? and how would you write it?"extends" keyword It is written as "ClassName 'extends' ClassName"
  8. 8What Type of Relationship is Inheritance?it is "Parent-Child Relationship"
  9. 9How to write a static method'Public Static Main(String[ ] args)'
  10. 10How to Call A Static Methodpublic class ShapeMethodTester{
    public static void main(String[] args){ ShapeMethods.circleArea(14.2);}
    }
  11. 11When would you make a method static? (there are two possible reasons)If a method doesn't modify state of object, or not using any instance variables. Or You want to call method without creating instance of that class.
  12. 12How to write an aggregation in Java?//Creating HAS-A relationship with Address class
    ' Address studentAddr; '
  13. 13What type of relationship is Aggregation?The relationship is a "Has-A" relationship

Información

Descripción
Fichas sobre Quiz Study 1302, creado por marc30599 . el 02/10/2018.
Creado por
marc30599 .
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?