View Single Post
  #3 (permalink)  
Old 06-28-2008, 12:52 PM
littleBean littleBean is offline
Member
 
Join Date: Jun 2008
Posts: 9
littleBean is on a distinguished road
ah, so "private String surname" and "public Test( String psurname) " are not connected with each other? they are 2 different variable, not only one that has been used first as private and then as public. Then we can even write

"private String surname" and "public Test( String tree)" and the meaning of the source will not change, isn't it?

another question : why the private variables are one for line, and instead the public ones are all grouped?is it a choice of the compiler or a stardard of java?
Reply With Quote