Overload and the distinction Override

  Overload and the distinction Override 

  Rewriting Override is father and son type of performance between a polymorphism, is a heavy-duty category Overload polymorphism of a performance. 

  In the Java language specification, a method of characteristics include only the names of methods, the number and types of parameters, but not the return type, name and dished out the parameters of the abnormal.    Java compiler test for heavy-duty Overload will be judged according to these conditions Heavy whether the two methods. 

  But in the Java compiler checks method of rewriting, will be further examined two of the return type and dished out whether the same anomaly. 

  Posted on 2007-06-16 15:31 itkui reading (112) Comments (0) edit their collections quoted Category: J2SE related 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • DZone
  • Netvouz
  • Propeller

Recommend Articles

Comments

Leave a Reply