请在 下方输入 要搜索的题目:

假设Custom类定义如下,设myobject是Custom的一个实例,下列语句不正确的是( )。public class Custom{ int i; static String s; void imethod(){ } static void smethod(){ }}


A、System.out.pringln(myobject.i);;
B、myobject.smethod();;
C、System.out.pringln(Custom.i);;
D、Custom.smethod();

发布时间:2025-10-16 16:07:47
推荐参考答案 ( 由 快搜搜题库 官方老师解答 )
联系客服
答案:System.out.pringln(Custom.i);
专业技术学习
专业技术学习
搜搜题库系统