public void clear() {username = null;if (password != null) {Arrays.fill(password, (char) 0);password = null;}}

public void clear ( ) { username = null ; if ( password != null ) { Arrays . fill ( password , ( char ) 0 ) ; password = null ; } }
public virtual void Clear(){username = null;if (password != null){Arrays.Fill(password, (char)0);password = null;}}
