✅ Confusing wording, seeking clarification, NOT homework help
Hello (again for those that remember)
ive got this assignment, but yet again I have no idea what they want. not looking for answers, just clarification
The question seems simple at first. A class must be made for a student, and a class for main
Student class has first and last name, and three grades
In main, we enter 3 grades.
Then we make two objects based off that Student class where
one object will pass user information via constructor. and another object will be initialized using default constructor and pass user information via propertiesWhat the hell does that quoted bit mean?? Why should Main make two objects of that student class? Is there something Im missing? And as far as I know, [https://learn.microsoft.com/en-us/dotnet/csharp/properties] tells me this
property definition contains declarations for a get and set accessor that retrieves and assigns the value of that propertyPlease help.. im so lost (I havent been reading my C# textbook, but it just sucks to read cause of eye strain, so I resort to looking online + videos lol)
12 Replies
I can send an image of the question if I didnt explain it well
That's what it means, I believe
One object initialized with the data via a constructor, the other initialized with a default ctor and filled with data later
I see, that makes sense now that you say it
but why would we need two objects when we're only dealing with one student?
¯\_(ツ)_/¯
wait wait let me just send this image
ignore everything that isnt relevant, I already have a program typed up
but then I read down and I just died
maybe this'll help clear things up
So, yeah
studentOne
and studentTwo
oh wow\
I had trouble readingt cause of the angle
so they want us to enter two students
This is what happens when your eyes are strained from doing a lot of stuff
Thank u bro I feel dumb af LMAO
Happens to the best of us lol
yeahh
closing it now !