![](https://cos-cdn.shuashuati.com/pipixue-web/2020-1231-2005-12/ti_inject-812ce.png)
考虑如下代码: class Tree { } class Pine extends Tree { } class Oak extends Tree { } public class Forest { public static void main( String[] args) { Tree tree = new Pine(); if( tree instanceof Pine ) { System.out.println( "Pine" ); } if( tree instanceof Tree ) { System.out.println( "Tree" ); } if( tree instanceof Oak ) { System.out.println( "Oak" ); } else { System.out.println( "Oops" ); } } } 则输出结果中有以下哪些项?