Saturday, 23 April 2011

Java Keywords

Java  Keywords

Class  organisation  -  package  -  
specifies   the  class  in  a  particular  source  file  should   belong   to  the  named   package .

import --  requests  the  named   class   or  classes   be  imported   into   the  current  applications  .

Class  definations  --  interface --
defines  global  data  and   method  signatures  that  can  be  shared  among  classes .

class --  defines   a   collection   of   related   data   behavior .

extends  --  indicates   which   class   to  subclass  . 
implements  -- indicates   the  interface  for  which  a  new  class   will  supply   methods .


No comments: