- package com.sf.ioc.annotation.plane;
- import org.springframework.stereotype.Component;
- @Component
- public class Box implements Plane {
- @Override
- public void put() {
- System.out.println("this is box");
- }
- @Override
- public String toString() {
- return "Box{}";
- }
- }
|