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

Fichas

Methods

nhunsdale02 Programming I Masters Inglés 9 fichas

Methods

Fichas del conjunto (9)

  1. 1Methods DefineA collection of statements that are grouped together to perform an operation
  2. 2Methods What is the method signature?The method name and parameter types
  3. 3Methods What is the format of a method header?Methods What is the format of a method header?
  4. 4Visibility What are the 3 visibilities and what do they mean?- Public - Allows any other class to access the method
    - Private - Hides method from other classes
    - Protected - Lets subclasses use the method
  5. 5Static What does it mean?You can call a method with "Static" in another class without first creating an instance of it
  6. 6Return Type What is this and what is "void"? Give an example of an intStates what the method will be returning(e.g. int, double). You will have to include a return statement in the method
    If it is void, this means that the method will not return anything
    public int age(int num1){
    ...
    return num1;
    }
  7. 7Method-name Does it start with a lower case or an uppercase letter?lowercase
  8. 8Methods Which method is the starting point for most all applications?Main
  9. 9What is parameter passing?Passing a value into a parameter

Información

Descripción
Masters Programming I Fichas sobre Methods, creado por nhunsdale02 el 04/06/2014.
Creado por
nhunsdale02
Visitas
16
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?