變量類型是Rectangle類型,通過反射獲取到了變量。想將變量作為參數傳遞。Field e=getField() void abc(Rectangle d){
}怎么實現?
java 通過反射引用靜態變量
暮色呼如
2018-07-22 11:08:24