+ 5
Feedback for rejection?
I'll post below the question I got declined, if it's out of scope that's fair enough but I can't believe the syllabus doesn't cover the principals of sets and hash sets. If it doesn't cover elementary collections classes that only leaves boring math and repetition for the challenges.
6 Respostas
+ 10
You asked for feedback, why are you complaining?
I couldn't guess the output in 25 seconds, neither could a lot others. That's why it gor rejected. Not everybody is master pro advanced, a quiz should not only be for absolute sololearn pros, it shoule be made for people who are learning.
+ 10
In the question you say "What is the output of this code?" and in your reply you say that you had to fill in 3 blanks?
What was the question then?
+ 9
whaaaat
This is too much for 25 seconds.
+ 3
Tim why shouldn't I complain? Because you don't want to learn new material? Your feedback was one line! However honest, I don't think you should feel undervalued, nothing personal.
It's called separating wheat from chaff, a lot of people would welcome the chance to win.
==============you write======
"In the question you say "What is the output of this code?" and in your reply you say that you had to fill in 3 blanks?"
What is your point with this?
+ 2
What is the output of this code?
static class A {
int t;
A(int tt) {
t=tt;
}
@Override
public boolean equals(Object o) {
System.out.print(ma.size());
return ((A)o).t == t;
}
@Override
public int hashCode() {
System.out.print(ma.size());
return t;
}
}
static Set<A> ma = new HashSet<>();
public static void main(String[] args) {
A a = new A(3);
ma.add(a);
a.t=4;
a = new A(3);
ma.add(a);
System.out.print(ma.size());
}
+ 2
@Tim, it's only too much if you don't know about sets and hash sets. it's not like I'm offering an option of there being an error in there BTW, simply fill in the blanks. It's about five lines, the rest is boilerplate.
Do you suppose the massively programmatic/mathematical Java questions are somehow more worthwhile to memorise by rote? 😣 Nonsense this was a valuable question, for getting me hated by making people look like losers 🙄
EDIT: Beg your pardon Tim, it's 3 blanks, a little OTT, but easily deducible.
UPDATE: Got another 4 rejected, seems the question banks are full, it's the next generation I feel sorry for😂