start;menu();在c语言中是什么意思

如题所述

第1个回答  2016-01-06
package fac;

public class FruitGardener{
public static Fruit factory(String which)throws Exception{
if(which.equalsIgnoreCase("apple")){
return new Apple();
}else if(which.equalsIgnoreCase("strawberry")){
return new Strawberry();
}else if (which.equalsIgnoreCase("grape")){
return new Grape();
}else{
throw new Exception("Bad fruit request");
}本回答被网友采纳
第2个回答  2017-08-03
你的问题不完整,不知道你想表达什么。你说的这两个他们不是c语言的关键字,所以应该是某个程序中的具体函数。而你这里没有具体的代码段,无法具体说明。
相似回答