我的第一個spring程序

一.程序要求: (1)建立Phone接口(call方法),建立PhoneImpl實現類(call方法)。 (2)建立Student接口(learn方法),並建立StudentImpl實現類(name和phone屬性,learn方法和setPhone方法)。 (3)建立TestSpring測試類,在main方法中,進行測試。 二.程序實現: 建立spring項目,然後在src目錄下建立類和接口。 三
相關文章
相關標籤/搜索