English 中文(简体)
两门课在 Java共同工作
原标题:Making two classes work together in Java

我试图汇编我的名字。 java案,但我保留以下错误:不能找到象征N = 投入。 用斯堪纳语说话是问题,但在我称之为“Record”类别之前,我开始并充实斯堪纳语的投入。

这两门课程都属于同一目录,因此,我不敢肯定我做了什么错误。

This is the class that calls the NameRecord class. It does not compile I keep getting a symbol not found Method NameRecord(String):

我排除了这一类别中包含的节约空间的几种方法。

问题回答

妨碍编辑工作的问题是<代码>。 姓名:类别无法了解<代码>input。 这是http://en.wikipedia.org/wiki/Scope_%28computer_science%29”rel=“nofollow”。 您的代码“有关”<代码>input的唯一地点是try- submissions/2005/4 in the main/code>meth of NameGameFrame。 请通过<代码>String,通过<代码>输入.nextLine( 至NameRecord,以便用你想要的方式开展工作。

尽管如此,这是你法典中大约20个问题之一。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签