package com.example.demo.tool; /** * 猫的接口类 */ interface CatInterface { void run(); //由于必须所有方法都是public,所以public没必要写上 void jump(); }