❔ Are these concepts encapsulation & polymorphism correctly implemented?

BlazeBin - jmusmzkpjeap
A tool for sharing your source code with the world!
16 Replies
The king of kings
I have done the following create books --> add books in the list --> applied encapsulation where the list is private but accessing it through a method --> applied polymorphism by defining a virtual method in the base class --> defining override methods in the sub-classes and printing a different message of a book depending on the user input, I hope I have done all these?
Anton
Anton2y ago
.NET Framework?? What year is this? idk, did you? compare that to the question
The king of kings
How do I check if I have the .NET Framework installed in my VS? By what year, I'm assuming the version of the framework? Currently. I'm asking specifically about the implementation of these concepts?
The king of kings
I'm using only .NET and version 7.0 on Mac and NET Framework only runs on Windows lol.
The king of kings
So that means I need to use the project on Windows device in order to submit the assignment, right? ?
Anton
Anton2y ago
.NET Framework is outdated talk to your teacher
The king of kings
Really! I didn't know that, thanks for informing me. What could be the alternative then? Winforms or WPF maybe? Do you have any answer?
Jimmacle
Jimmacle2y ago
you're confusing UI frameworks with .NET versions console apps, winforms, wpf, etc. all run on .NET, which is roughly divided into .NET Framework which is the old windows-only versions and .NET (Core) which is the new versions though winforms and wpf are windows-only regardless of what .NET version you're using
The king of kings
Aha! Ok! Thanks a lot for making things clear. So in my case, I should go with either Winforms or WPF because, I'm using Mac, right?
Jimmacle
Jimmacle2y ago
...no, the exact opposite neither of those UI frameworks run on mac do you even need a GUI?
The king of kings
Sorry! I wasn't very accurate in my question. I know those two frameworks run only on Windows and not on Mac, so I should be using a Windows device instead of Mac. Yes, I do need that, since my course is requiring me to use a framework. Winforms & wpf, aren't they included in the GUI just like maui & xamarion?
Jimmacle
Jimmacle2y ago
i don't know what that question means if you're using a mac they aren't even an option for you
The king of kings
Ok! Just to get things in a more clearer way. What do you mean by GUI? I did understand that Winfroms & wpf are UI frameworks that run only on Windows where you can build Windows apps. How about maui & xamarion aren't they a frameworks too?
Jimmacle
Jimmacle2y ago
GUI = graphical user interface framework is a general term for a large library that you build an application on top of
The king of kings
Aha! Ok!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server