問題詳情

33. 在程式中 SharedPreferences sp = getSharedPreferences("T", 0);下列何者可以寫入"Hello"?
(A) sp.edit().putString("K","Hello").commit();
(B) sp.putString("K","Hello").commit();
(C) sp.edit().putString("K","Hello").submit();
(D) sp.putString("K","Hello").apply();

參考答案

答案:A
難度:計算中-1
書單:沒有書單,新增

內容推薦

內容推薦