无法解决符号? [英] Cannot resolve symbol?

查看:125
本文介绍了无法解决符号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java的新手...


我一直试图让我教授的一个例子工作......


他说代码很好,但我一直得到4无法解析符号我尝试编译ShowStudent.java文件时出错...


下面列出了Student类和ShowStudent程序的代码...


请帮助!!!

Hi, I''m new to Java...

I''ve been trying to get one of my professor''s examples to work...

He says that the code is fine, but I keep getting 4 "cannot resolve symbol" errors when I try to compile the ShowStudent.java file...

The code for the Student class and ShowStudent program are listed below...

PLEASE HELP!!!


展开 | 选择 | Wrap | 行号

推荐答案

In ShowStudent,你说:

In ShowStudent, you say:

展开 | 选择 | Wrap | 行号


我更改了S大写,但我仍然得到相同的错误...
I changed the the S to uppercase, but I still get the same errors...


你能复制/粘贴确切的错误吗?请将它们放在[code]标签之间,以便更容易阅读。
Can you copy/paste the exact errors? Put them between [code] tags so they are easier to read, please.


这篇关于无法解决符号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆