问题描述
- regula inner class
- Accept a string from user and check whether is number ( using inner class)
解决方案
inner class 乍看起来和普通的类区别不大。但是inner class 的典型用法是在其外部类里添加methods,用以返回指向内部类的reference。If you want to make an object of the inner class anywhere except from within a non-static method of the outer class y......
答案就在这里:inner class
时间: 2024-10-01 19:21:37