zoukankan      html  css  js  c++  java
  • C#面试题

    61.abstract的method是否可同时是static,是否可同时是native,是否可同时是synchronized? 为什么?
    答:抽象方法不可被上述三个中的任意一个修饰,抽象方法只能被public或protected修饰,其他修饰符皆不可以。

    62.List, Set, Map是否继承自Collection接口
    答:List和Set是继承自Collection接口的接口,Set不允许重复的项目,List允许重复项目,Set接口派生的类有TreeSet,HashSet,LinkedHashSet。List接口派生的类有ArrayList,Vector等。Map是独立的接口,不继承Collection接口
     
  • 相关阅读:
    2001.3.9 每日总结
    2021.3.5
    2021.3.4每日总结
    2021.3.3每日总结
    每日总结2021.3.2
    2021.1.13
    2021.1.12
    PodPreset
    ingress-nginx安装
    RBAC
  • 原文地址:https://www.cnblogs.com/wangdodo/p/3836569.html
Copyright © 2011-2022 走看看