inner class
常見例句
- Make an inner class in the parent class, which is a test case.
在父類中建立一個(gè)內(nèi)部類,這個(gè)內(nèi)部類是個(gè)測試用例。 - Instance initializers allow you to execute construction code for an anonymous inner class.
實(shí)例初始化器允許您為一個(gè)匿名內(nèi)部類執(zhí)行構(gòu)造代碼。 - The code in Listing 1 would be much neater if the anonymous class was placed separately as an inner class.
如果這個(gè)匿名類可被作為一個(gè)內(nèi)部類單獨(dú)放置,那么清單 1 中的代碼將會(huì)簡潔很多。 - The centre of gay life in Sydney is Oxford Street, an inner-city Victorian thoroughfare where once tough, working-class pubs have been transformed into the rowdiest gay drinking places in the world.
ECONOMIST: Gays and the Australian economy - Biden complements a Democratic ticket in areas that polls show Obama is weak — he has gravitas, foreign policy experience, knowledge of the inner workings of Washington, and an appeal to working-class voters.
NPR: Ohio Voters React To Biden Selection - But Republicans are hardly the ideal champions for a measure that primarily benefits poor blacks in the inner cities—not least because their own base, the middle-class suburbs, are perfectly happy with their local schools (which are often the reason why they live where they do).
ECONOMIST: Lexington 返回 inner class