class A {...} public class B: A {...}the B class results in a compile-time error because A is not at least as accessible as B. end example] [Example: Likewise, in the example
class A {...} public class B { A F() {...} internal A G() {...} public A H() {...} }the H method in B results in a compile-time error because the return type A is not at least as accessible as the method. end example]
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |