如何将变量分配给表 [英] How do I assign a variable to a table

查看:66
本文介绍了如何将变量分配给表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我是Java的初学者。我有一个项目,为了它开始我必须做一个程序,取一个名单,排序并返回一个名称列表丢失。

我的第一个问题是分配表的变量。我不知道如何用Java做这件事。

tableofnames [y]。无论如何=

我想要的第二个问题是阅读或获取我创建的变量(这里是无论什么)。如果我需要更多帮助,我也希望有联系,因为我是初学者。非常感谢。



我的尝试:



D '我知道要尝试什么,所以我会问专家

Hello,
I'm a beginner in Java. I have a project in mind and for it to start i have to do a program that takes a list of name, sort it out and return a lost of list a names.
My first problem is to assign a variable to a table. I don't know how to do it in Java.
tableofnames[y]. whatever = true;
the second problem I would encontered wold be to read or get the variable that I created (here "whatever"). I would like also to have a contact if I may need more help because i'm a beginner. Thank you very much.

What I have tried:

D'ont know what to tried so i 'll ask the experts

推荐答案

听起来你最好的选择是找一本java书的介绍或java教程的介绍线上。除非你愿意付钱给某人来辅导你,否则我怀疑你在这里找到愿意成为你个人指导的人会有很多运气。这并不意味着粗鲁,只是严厉的事实。



我发布这个作为答案而非评论的另一个原因,你提出的非常基本的问题是最适合您遵循教程(例如:如何阅读或获取我创建的变量(此处为任何)。如果您不知道如何阅读您之前分配的变量,那么您需要的帮助范围超出快速回答论坛的范围。



你能做的最好的事情就是自己开始搞清楚事情,开始......如何谷歌。这是一个谷歌搜索,这将是你开始的好地方。



初学者java教程 - Google搜索 [ ^ ]



这是一个很有希望的例子



Java教程:通过示例学习Java编程 [ ^ ]



我也喜欢wrox和apress书籍,这些也是一个好看的地方。



Java Books&电子书| Apress [ ^ ]



Java类别:书籍,电子书,JDK,WebLogic,Spring Framework ,Java Tools - Wrox [ ^ ]



现在您应该开始深入研究这些教程并提出问题,请随时回到这里,并清楚地解释您的问题和任何相关代码样品,我相信你可能会找到一些高质量的帮助。



另外要明确的是,我不是自愿成为你的导师......只是试图引导你朝着正确的方向前进。
It sounds like your best bet is to find an intro to java book or an intro to java tutorial online. Unless you are willing to pay someone to tutor you, i doubt you'll have much luck finding someone on here who is willing to be your personal guide. That isn't meant to be rude, just the harsh truth.

Another reason for me posting this as an answer and not a comment, your asking extremely basic questions that are best suited by you following a tutorial (ex: how to read or get a variable that I created (here "whatever"). If you don't know how to read variables you've previously assigned, the scope of help you need is beyond that of a quick answer forum.

The best thing you can do is to start figuring out things on your own, to start...how to google. Here is a google search which would be a good place for you to begin.

beginners java tutorial - Google Search[^]

Here is a promising example

Java tutorial: Learn Java Programming with examples[^]

I also like wrox and apress books too, those would be a good place to look as well.

Java Books & eBooks | Apress[^]

Java Category: Books, Ebooks, JDK, WebLogic, Spring Framework, Java Tools - Wrox[^]

Now should you start digging into these tutorials and have questions, feel free to come back here with a clear explanation of your issue and any relevant code samples and I am sure you are likely to find some quality assistance.

Also to be clear, I am not volunteering to be your tutor...just merely attempting to steer you in the right direction.


这篇关于如何将变量分配给表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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