Click here to Skip to main content
14,326,574 members
Rate this:
Please Sign up or sign in to vote.
See more:
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
Updated 16-Oct-18 8:53am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

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 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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100