d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > New To Java Help > Creating Table In Java With Netbeans
Prev123
Add Reply New Topic New Poll
Member
Posts: 1,241
Joined: Jun 25 2011
Gold: Locked
Feb 24 2014 04:03pm
Sounds like you're very early in your study of the language, perhaps its best if you just dont use other classes for this simple problem. You can still make it with plain arrays
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Feb 24 2014 04:42pm
Quote (m0hawk @ Feb 24 2014 05:03pm)
Sounds like you're very early in your study of the language, perhaps its best if you just dont use other classes for this simple problem. You can still make it with plain arrays


The problem asks him to store a name, sales, total compensation, and make use of an array or an array list. Unless the professor intended him to use 3 separate arrays then the assignment is geared towards teaching him incapsulations within object oriented paradigm. He needs to have at the very least a class to hold he above three values.
Member
Posts: 1,241
Joined: Jun 25 2011
Gold: Locked
Feb 24 2014 04:55pm
I agree but he doesnt even know how to use classes, surely if the exercise required the use of classes he would know how to use them :o
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Feb 24 2014 05:23pm
Quote (m0hawk @ Feb 24 2014 05:55pm)
I agree but he doesnt even know how to use classes, surely if the exercise required the use of classes he would know how to use them :o


Curious indeed.
Member
Posts: 10
Joined: Feb 17 2014
Gold: 0.00
Feb 24 2014 05:48pm
I thought I knew how to use classes I think I am just confusing myself. I've worked with databases so I know how to create classes and sub classes. It's just a little different with programming. Couldn't I just also create different classes in the project itself?
Member
Posts: 10
Joined: Feb 17 2014
Gold: 0.00
Feb 24 2014 05:50pm
Just having one of those moments. The class is only five weeks long and it is a lot of information to try and process in five weeks. That's my excuse and I'm sticking to it :). But I plan on practicing in my spare time to get it down.
Go Back To Programming & Development Topic List
Prev123
Add Reply New Topic New Poll