SharedPreferences.Editor里的putXXX()如putFloat明明是抽象方法,为什么可以直接用呢?比如:Editor editor = preferences.edit();
editor.putString("name", name);SharedPreferences抽象方法