试题详情
- 单项选择题 Given two files, GrizzlyBear.java and Salmon.java: If both classes are in the correct directories for their packages,and the Mammal class correctly defines thefindSalmon() method, which change allows this code to compile?()
A、add import animals.mammals.*; at line 2 in Salmon.java
B、add import animals.fish.*; at line 2 in GrizzlyBear.java
C、add import animals.fish.Salmon.*; at line 2 in GrizzlyBear.java
D、add import animals.mammals.GrizzlyBear.*; at line 2 in Salmon.java B
- B
关注下方微信公众号,在线模考后查看
热门试题
- User SCOTT&ens
- Your database&
- ViewtheExhibittoexam
- 以下不是oracle数据库特点的是()。
- You want to display
- YouareusingRecoveryM
- Examine the followi
- Which of
- 为了减少表中的链接记录和迁移记录,应当增
- You want
- What is true about u
- How can you reverse
- You are m
- ViewtheExhibittoexam
- Which business flow
- You executed&e
- 在iBatis框架中,持久化对象之间一对
- A corrupted&en
- 唯一性约束和非空约束的作用是什么?
- When setting