以下代码提示错误了。请问错误在哪里?
package com.bobby;
//创建一个Vehicle的父类
public class Vehicle {
int paasenger;
}
//创建一个Car的子类
public class Car extends Vehicle {
int passenger = 4;
}
//执行子类
public class initial {
public static void main(String[] args) {
Vehicle obj1 = new Car();
System.out.println(obj1.passenger);
}
}