Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Is this an original LEGO part? Maybe Technic? See the cup for size comparison.
The black one is a playmobil part, used to link fort wall part together. I think the cup is playmobil too.
I don't recognize this part as produced by LEGO. On another thought, pictured black part has rough edges (low quality), which is unheard for LEGO.
Required, but never shown