Gaicu that one! If the Senate with a subclass of the construction method, then, must be the father of explicit definition of a non-default constructor parameter.

  Abstract: A Gaicu that! If the Senate with a subclass of the construction method, then, must be the father of explicit definition of a non-default constructor parameter. 

  Class Parent 
  ( 
  Public Parent (String name) () 
  ) 
  Class Child extends Parent 
  ( 
  Public Child (String name) () 
  ) 
  Public class MyMainClass 
  ( 
  Public static void main (String args []) ( 
  Child c1 = new Child ( "zhangsan"); 
  ) 
  ) 
  Tip seventh sentence is wrong! You help me look! 


  Class Parent 
  ( 
  Public Parent (String name) () 
  Public Parent () () 

  ) 
  Class Child extends Parent 
  ( 
  Public Child (String name) () 
  ) 
  Public class MyMainClass 
  ( 
  Public static void main (String args []) ( 
  Child c1 = new Child ( "zhangsan"); 
  ) 
  ) 


  If the Senate with a subclass of the construction method, then, must be the father of explicit definition of a non-default constructor parameter. 

  ↑ Back 

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

Tags: ,

Releated Java Articles

Comments

Leave a Reply