Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
interface IA { public const int months = 12; } public class A : IA { }
为什么接口中不允许使用常量?