摘要:
对象的多态性: class 动物 { } class 猫 extends 动物 { } class 狗 extends 动物 { } 猫 x = new 猫(); 动物 x = new 猫();//一个对象,两种形态. 猫这类事物既具备了猫的形态,又具备着动物的形态, 这就是对象的多态性. 简单说: 阅读全文
摘要:
function getFloatContent() { var method = 'GETFLOATCONTENT'; $.ajax({ url: 'api/zhenqiapi.php', data:{'appId':appId, 'method':encode_param(method), 'se... 阅读全文