title: cannot find symbol error in java code
body: <p>i need to write method for the website class, called browserLogin, which allows a browser who already has an ID to log in to the site. This method is passed a Browser object as a parameter and which uses the browser's setLoginStatus method to "log in" that browser to the website. It also needs to outputs a welcome message to a terminal window in the format Wine Direct welcomes browser 6732, you are now logged in.</p>
  
  <p>this is the code i have so far with help, but not when i put the code. ive put this code in
  the website class:</p>
  
  <pre><code>private void browserLogin(Browser br){
      if(!br.isLoginStatus()){
        loggedIn = br;
        br.setLoggedIn(true);
      }       
  }
  </code></pre>
  
  <p>but its shows a message "cannot find symbol, method setLoggedIn(boolean)"
  and this is my browser code:</p>
  
  <pre><code>private int yearOfBirth;
  private int id;
  private String email;
  private boolean loggedIn = true;
  
  public Browser(String getEmail, int getId, int getYearOfBirth)
  {
      email = getEmail;
      id = getId;
      yearOfBirth = getYearOfBirth;
  }
  
  public Browser()
  {
      email = "J.Booth@winedirect.com";
      id = 2678;
      yearOfBirth = 1990;
      loggedIn = true;
  }
  
  public void yearOfBirth(int getYearOfBirth)
  /**
   * 
   */
  {
     yearOfBirth = getYearOfBirth; 
  }
  
  public void id(int getId)
  /**
   * 
   */
  {
      id = getId;
  }
  
  public void setLoginStatus(boolean value)
  {
     loggedIn = value;
  
  if(loggedIn == true)
  {
      System.out.println("online;" + id);
  }
  else
  {
      System.out.println("Offline");
  }
  }
  
  public boolean isLoginStatus()
  /**
   * 
   */
  {
      return loggedIn;
  }
  
  public void email(String getEmail)
  /**
   * 
   */
  {
      email = getEmail;
      loggedIn = true;
  }
  
  public void loggedOut()
  /**
   * 
   */
  {
      email = "";
      yearOfBirth = 0;
      id = 0;
      loggedIn = false;
  }
  </code></pre>