How to right click on a link and select an option using Selenium WebDriver ?

package SeleniumLearn.Com;
import org.testng.annotations.Test;
import org.testng.annotations.BeforeTest;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.Actions;
import org.testng.annotations.AfterTest;

public class RightClick {
    public class Rightclick {
          public WebDriver driver;
      @Test //Right Click on Link,Button and Image etc.. using Selenium Webdriver
           public void RightClick() throws Exception {
           Actions act=new Actions(driver);
          public void beforeTest() {
          driver = new FirefoxDriver();

         public void afterTest() {