Java language structure

Description

Estructura del Lenguaje de Java
Leslie Zen
Mind Map by Leslie Zen, updated more than 1 year ago
Leslie Zen
Created by Leslie Zen over 8 years ago
12
0

Resource summary

Java language structure
  1. It is important to understand teh base terminology of Java in terms of packags, classes and objects
    1. Package
      1. Java groups classes into functional packages.
        1. Without packages, a programmer may create a Java class called Test . Another programmer may create a class with the same name. With the usage of packages you can tell the system which class to call
      2. CLass
        1. Template that describes the data and behavior associated with an instance of that class.
          1. In Java source code a class is defined by the class keyword and must start with a capital letter. The body of a class is surrounded by {}.
        2. Object
          1. Def.: An object is an instance of a class
            1. The object is the real element which has data and can perform actions. Each object is created based on the class definition.
          2. Object as superclass
            1. Every object in Java implicitly extends the Object class. The class defines the following methods for every Java object:
              1. equals(o1)
                1. allows checking if the current object is equal to o1
                2. getClass()
                  1. returns the class of the object
            Show full summary Hide full summary

            Similar

            Installation of Java
            Leslie Zen
            Introduction to Java
            Leslie Zen
            Programación orientada a objetos - JAVA
            Lore Vallejos
            EVENTOS EN JAVA
            **CR 7**
            PROGRAMACIÓN ORIENTADA A OBJETOS - TERCER CORTE
            Jose Anacona Pira
            Parcial Fundamento de Programación
            ALBERTO MANUEL PATERNINA LEON
            Java: Herencia y Polimorfismo
            Ana Emilie
            EVENTOS EN JAVA
            LUIS NAKASIMA
            Certificación Java 8 - Oracle Certified Associate - Tema 1 - Estructura de Clases
            Miguel Gómez Cuesta
            Interface en Java
            tavoberry
            EVENTOS EN JAVA
            Diego Santos