This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
public List getBrands(String color) { List brands=new ArrayList(); if(color.equals("amber")) { brands.add(" Jack Amber"); brands.add(" Rose Amber");} else{ brands.add(" Jail Pale Ale"); brands.add(" Gout Stout "); } return(brands); } } ==============================================================
C:\SCWCD-CX310081\MyProjects\beerv1\src\com\example\web>javac BeerSelect.java BeerSelect.java:3: package com.example.model does not exist import com.example.model.*; ^ BeerSelect.java:20: cannot find symbol symbol : class BeerExpert location: class com.example.web.BeerSelect BeerExpert be=new BeerExpert(); ^ BeerSelect.java:20: cannot find symbol symbol : class BeerExpert location: class com.example.web.BeerSelect BeerExpert be=new BeerExpert(); ^ 3 errors
I am not able to solve this prob since one day..! Can any one explain me y is this so ??
Please help me as this is frustrating me now..!
Thanks and Regards,<br />Nilesh<br />SCJP 1.4, SCWCD 1.4