程序的UML图:代码:public interface IMealBuilder { public void BuildBurger(); public void BuildChips(); public void BuildDrink(); Meal GetMeal();}...
分类:
其他好文 时间:
2015-12-31 01:33:29
阅读次数:
227
程序的UML图和代码:(1)先创建一个食品工厂接口IFoodFactorypublic interface IFoodFactory { public Burger MakeBurger(); public Chicken MakeChicken(); public Dri...
分类:
其他好文 时间:
2015-12-31 00:08:40
阅读次数:
323
要求:程序的UML图以及代码:(1)创建抽象组件类MobilePhone。 public abstract class MobilePhone { public String phoneName; public abstract void SendMessage(); pub...
分类:
其他好文 时间:
2015-12-31 00:06:32
阅读次数:
292
要求:程序的UML图和代码:(1)先创建一个食品工厂接口IFoodFactory public interface IFoodFactory { public Burger MakeBurger(); public Chicken MakeChicken(); public...
分类:
其他好文 时间:
2015-12-31 00:00:06
阅读次数:
446
1.public Vector3 angularVelocity { get; }未测2.public bool animatePhysics { get; set; }未测3.public bool applyRootMotion { get; set; }是否打开根运动4.public Avat...
分类:
编程语言 时间:
2015-12-30 23:45:21
阅读次数:
693
一、JSSDK类定义appId = $appId; $this->appSecret = $appSecret; } public function getSignPackage() { $jsapiTicket = $this->getJsApiTicket(); $url ...
分类:
微信 时间:
2015-12-30 23:41:28
阅读次数:
336
1 package jiaoyaping; 2 3 public class Kaoshichengji2 { 4 5 public static void main(String[] args) { 6 // TODO 自动生成的方法存根 7 8 b...
分类:
其他好文 时间:
2015-12-30 22:06:54
阅读次数:
190
class BugerPart { } public class KFCBuger : part { public override void Make() { Console.WriteLine("KFC汉堡,递到了客户面前"); } } public class MBuger : part { ...
分类:
其他好文 时间:
2015-12-30 22:00:14
阅读次数:
205
public static object ChangeType(object value, Type targetType) { if (targetType.IsGenericType && targetType.GetG...
class Car { private Engine _engine; public Engine engine { get { return _engine; } set { _engine = value; } } public void Drive() { _engine.launch(); ...
分类:
其他好文 时间:
2015-12-30 21:51:41
阅读次数:
185