Jeff Verdegan wrote:Welcome to the Ranch, Angeli!
In the future, when posting code, please UseCodeTags(←click) so it will be easier to read. I've added them for you this time.
As for your question, people here will be happy to help, but you have to ask a specific question. Pick one piece of your assignment, try to do it, and post a more specific question about exactly where you're getting stuck.
Angeli Angel wrote:
I'm stuck with these questions..I tried so hard, but nothing.
(1)The third constructor creates a student object with full name and all the marks specified.
Henry Wong wrote:
Angeli Angel wrote:
I'm stuck with these questions..I tried so hard, but nothing.
(1)The third constructor creates a student object with full name and all the marks specified.
What have you "tried so hard"? and what do you deem as "nothing"? We can't actually give you a hint in the right direction, if we don't know what you tried, what you achieved, or what are you confused with.
Henry
Angeli Angel wrote:The code given is what I have tried to do but it is incomplete.
Angeli Angel wrote:(1)The third constructor creates a student object with full name and all the marks specified.
Angeli Angel wrote:Confused because I am not an expert in java. The code given is what I have tried to do but it is incomplete.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Amit Ghorpade wrote:
Angeli Angel wrote:The code given is what I have tried to do but it is incomplete.
Hint: The second constructor is trying to do the following.
Angeli Angel wrote:(1)The third constructor creates a student object with full name and all the marks specified.
You need to fix that first.
Angeli Angel wrote:The first constructor creates a “default” student object – it should be you – and sets all the marks to 0.
The second constructor creates a student object with specified name and surname and zero marks for all assessment tasks.
The third constructor creates a student object with full name and all the marks specified.
Angeli Strada wrote:public boolean passed(), how to do this one?
Ulf Dittmer wrote:It seems that a complete problem description can be found at www.getacoder.com. I guess someone else got desperate finishing this homework.
Angeli Strada wrote:
Ulf Dittmer wrote:It seems that a complete problem description can be found at www.getacoder.com. I guess someone else got desperate finishing this homework.
That's not me. Its different and I have completed my homework, by the help of someone very nice.
No, tomorrow we rule the world! With this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|