wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes how do arrays work with oop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how do arrays work with oop" Watch "how do arrays work with oop" New topic
Author

how do arrays work with oop

Ferny Canturini
Greenhorn

Joined: Sep 17, 2004
Posts: 1
I have an assignment that requires me to create an array of three objects
Each Object has five varreables
I am supposed to ask the user to input the varreables and check them for right type and range. Then I am supposed to output the data back to the screen naming it object1 with its five varreables
object 2 with its five varreables
object 3 with its five varreables

all of this is supposed to be simplified by using the try-catch commands.
I am using the Java intro to computer science & programming third edition.
please help the newby?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9044
    
  10
Since this is a Java question and is not about the Javaranch website, I am moving it to Java in General(beginner).


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

What are the types and ranges?


http://home.arcor.de/hirnstrom/bewerbung
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Ferny Canturini!

Here is a list of free on-line Java tutorials and books that I have found useful:
  • Sun's Java Tutorial
  • Introduction to Computer Science using Java by Bradley Kjell
  • Introduction to Programming Using Java by David J. Eck
  • Dick Baldwin's Java Programming Tutorials
  • Interactive Programming In Java by Lynn Andrea Stein
  • Bruce Eckel's Thinking In Java
  • JavaRanch's own Campfire Stories
  • Allen B. Downey's How To Think Like A Computer Scientist

  • In Eck's material, you might like to take a look at chapter 8, which covers arrays. Also, you might like to take a look at chapter 46 and some of the subsequent chapters in Kjell's material, where arrays are also covered.


    [How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: how do arrays work with oop
     
    Similar Threads
    Another "Fantastic" Static Method Problem I need help on...
    Logout servlet problem with back button
    Create a login, it is taking data by using five step
    Einstein's riddle
    Data Population in JSF