Why create a List variable instead of an ArrayList when instantiating a new ArrayList?

后端 未结 0 1293
鱼传尺愫
鱼传尺愫 2020-12-07 07:59

I was learning about ExpandableListViews for Android and I came across this code:

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题