Anil Philip wrote:Below I add Integer and Float to a List<? super Integer>
I should not be able to do that!
Anil Philip wrote:It seems reversed and counterintuitive since Integer is a subtype of Number
Anil Philip wrote:Okay then, how am I able to do this?
Assigning a Float to a list of Integer.
kevin Abel wrote:I have about 25 commands written on paper and typed in a file on EverNote.
Question: What is the difference between main, the branch with the *, HEAD and master(obsolete) ?
Is there a way to remove the commits at the bottom and then recommit bugFix?
kevin Abel wrote:I think that I'm missing a middle piece of knowledge. I know the basics of git and very little of branching. These examples seem to be for more advanced branching. Is that correct?
I'm enjoying going through the teaching screens, guessing at the answers and then seeing how the answers work.
I'll go back to W3schools for git because there has to be some base knowledge that I don't have.
It was a bad time to get hit with covid. I run into a new thing to learn and my mind only wanted rest. I slept for about 18 hours a day back and when I woke up I felt great but tired.
Anil Philip wrote:If this is not allowed by the language then why does it compile?
Furthermore, why is it in an infinite loop?
wonder if the compiler is not clever enough to catch the flow of execution.
If you assign a C instance to an A reference and cast it, then one can access only the member variable of A but not execute its methods?