摘要:
上菜代码 搞起来 public class Person { int id ; int age; String school; Person(int id,int age,String school){ this.id = id; this.age = age; this.school = scho 阅读全文
摘要:
class Program { static void Main(string[] args) { A a = new A(); A b = new A(); a.Age = 10; b.Age = 10; Console.WriteLine(a == b);//true Console.Write 阅读全文
摘要:
1.外观模式 public class ChargeBillFacadeService { private ChaegeBillServiceFactory chaegeBillServiceFactory; public ChargeBillFacadeService() { this.chaeg 阅读全文
摘要:
还有一种import static的语法,它可以导入可以导入一个类的静态字段和静态方法: package main; // 导入System类的所有静态字段和静态方法: import static java.lang.System.*; public class Main { public stat 阅读全文