Java学习-sgg-day13-20200429
# Java的属性赋值的先后顺序
public class Attribute { public static void main(String[] args) { Order order = new Order(); System.out.println(order.orderId); } } class Order{ { orderId = 4; } int orderId = 3; }
# Java被final修饰的语法
# Java中的抽象类和抽象方法