📄 tabbycat.java
字号:
package questions.c5;
// interface goes here
public class TabbyCat implements Cat {
public void eat() {
System.out.println( "munch munch" );
}
public void sleep() {
System.out.println( "purr purr" );
}
public void play() {
System.out.println( "pull on string" );
}
public static void main( String[] args ){
TabbyCat boots = new TabbyCat();
boots.eat();
boots.play();
boots.sleep();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -