Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

Introduction to Java

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

Method overloading

Autor: Christian N



Respuesta:

Method names can occur multiple times as long as the methods with the same name differ sufficiently by number or data types of the formal parameters:Naming different things (usually methods) with the same name is called overloading.In a method call, the ambiguity (»Which method is meant?«) is resolved based on number and types of the actual parameters.


0 / 5  (0 calificaciones)

1 answer(s) in total