public class Code { class Price { public int getPriceA() { return 1; } public int getPriceB() { return 2; } } // create an instance of the inner class Price price; public int assign() { // this should not compile return price.Rate(); } int Rate () { return 17; } }