Java:利用註解執行特定的方法

Java中的註解是一門藝術,裏面的學問不少,本實例介紹的是註解對方法的作用性 1. 新建一個註解類 package com.zhebie.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionP
相關文章
相關標籤/搜索