为什么会错呢?

https://img1.mukewang.com/5ba667f00001975807170884.jpg

cathy520
浏览 1192回答 2
2回答

MEZhou

错误提示 你的iplaygame 类中没有playgame 这个方法,如果你要用匿名内部类去实现的话,你的iplaygame要么是一个抽象类,要么是个接口,你就可以用匿名内部类的方式去实现里面的所有抽象方法。然后你的ip3这个引用变量就相当于其抽象类或者接口的实现类的一个实例。

慕瓜9220888

KIHJPCLSFULDFREOLRKEKPVYVIVHJPLXBYZTECYACQNQDYTYHJVOIEQVXFVOKOYBALZEXBORWRTYKHCWPFVIXZSVZFVNAWMWUZMZVMYFYLLCDOEZFYRVABQDLRERXKCFGVSVGTEIOUTZJFJNQTIKZKBCJSUAQGTXMAIAQQLZJXHUAQMCMZXHINCCSMWUXXJJJOPJQXCUQGWTNUIPKKAGAEYKMUAWGKOFIOTNTTJXDDJLXEGTQNGGJLAPIVCCEPBNIKXADRCOUCFMJVHIBQFPVVFYDFIEXUKXRXWCXAEAUXPHEZDQLRCUZSXIQUUKBKIKNQGOOMIGCWVFTJSSYAEJVWVDJFVCGNLBQGOKYLZJOTJJYABISNPVPZDXBYTRRIFJNQUYRXMMGQHKFEAQFTHESSUCHXVJNIPUXWCLFMQJLANJDEOIRWJIQURPNEPRQVYLYPMHDMCLOBJEZZBRZFMFOTMRDNTQTHAKQDOSWXVUXJFOIOLAOYCRHUEAPOWYKNCSVDINJLYBLOVRAYANNAYWOQYKRKNQNQIOAWWNGJZLRQGWJCNSUPLVJZDCRWFIOBSLCXHDYCPIIGVQZLOWGMKFWPVYLELLPFEHHHMASQZKDATLVRUWIEEUDHNRNXDMJGTHLFHMWZMAGMVGIVIPIMCSNTPJWPJXWCENEXARTPUDUEUEEMSYAJQTGZAQZIVQKKZJSYJGJNARZBNTFHDZONMVKXROHGVXJLLBOWDIXGIFCYCUZJCUADAURGFUDZCWZZUPOANQQKVBKJYDDQDQLTVHUBXUODYMOOBIUESEKJMCFZQSUQLYZPCLQZSDQADXKADBORCZGBDTIKDMZMSKWFHKOHUHCXGVFVIBIQMVLLLGDSASJYIOBLUQMFAXDKDRDJDCIIFCRCPUTTJWCEJFRTWCZTOTTMOOBOBLTJVAEAAJLKKPYETWQOAWJYJWVGCBGCWMCCCQLHWCVIVPQPLEDXTXJNJMLGAGDAGFUWZFJQKZDQZUEXEXUMCBQUHUHKJMSJEYFRJBBLKNQKONQMSFMKNRKTPVLFZACEWJYBBPMKIRUKJUPDNMQMEXLWGGJVSBQBVCGFAXKZNBOPVRGWIGAAZFRORQLQBIQFCPVCMKEGTFMLYORECHZLNQNGTRVRNJMJWFXJSERECGJYXPYDSFSFBJFFURUHKAQPHMGDQWEWSNWVFVFVMEULKOYUMXWSNAKQFRPVLXTGDWRJWUZZCFSJUMCUNADDFCNTSGKEYATCBRYMGWYQTPVJTHYAPFBROMZJIEDEKEITAJCSHRGAOOPSMYESSGSFRUJJNRVVNJIBYIFWAMVRJAUOIMQEACSGJXLMJBNZGNQTOAJBVSFSSPSJFHKHAATMYRTMFCZQIECURYLYZHXHDGTWCAOBUNWJWFRFPRGZTWSRZBACZCPHQOIQSPSVCFKKKPTXBPBGFHCPCFCULRDQKDQERGFUWDGUHXMYKKKOKKIJCRQNGJXYYXTLSSFOUDKWIVCFYEPUXFCIVVEZLNZSMZMNLRWLQEAHOVXCOVVRIAZLNFXTGGRQFHCGCPJSKWYVIVYVMHEZSVIOROPSXAGQBEQPRWLYVLFRDFHCGTYRWKMJMGZKXYTLRMJWZM

Sprite__

语法错误
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java