while creating the account record am getting this error at Class.MyController.: line 5, column 1 please help me to resolve
<apex:page STAndardController="account" extensions="MyController" tabStyle="Account">
<apex:form >
<apex:pageBlock title="Congratulations {!$User.FirstName}">
You belong to Account Name: <apex:inputField value=" {!account.name}"/>
<apex:commandButton action="{!save}" value="save"/>
</apex:pageBlock>
</apex:form>
</apex:page>
CONTROLLER
public class MyController
{
public Account account{get; set;}
public MyController(ApexPages.StandardController controller)
{
account=[SELECT ID,Name, site FROM Account
WHERE Id=:Apexpages.currentPage().getParameters().get('id')];
}
public MyController()
{
account=[SELECT ID,Name, site FROM Account
WHERE Id=:Apexpages.currentPage().getParameters().get('id')];
}
public Account getAccount()
{
return account ;
}
public void save()
{
update account;
}
}