Week 11 - live Java - Q&A: compiler, static, lambdas, streams

This week we'll not be discussing anything new. It's time for a Q&A session. Next week we'll discuss exam prep :)
Questions
If you have any questions about the content, please write them under the corresponding KZread video. The questions that are asked most will be discussed in the Saturday session. You can also ask your direct team members and the other participants. Please help each other as much as possible, if you see a question you know the answer too, please answer 😊 We’re doing this together!
Homework
We won’t continue working on the project this week. However, you can finish up and clean up your project this week. If you have any questions let me know! I’d really recommend you to go over the topics of all the past weeks. If you have any questions, submit them before the next live session so I can answer your question in the next session!

Пікірлер: 4

  • @immythic8351
    @immythic8351 Жыл бұрын

    Hello ma'am! It's been a minute 😅 first of all, I want to thank you for your incredible content! It made me learn a lot of Java and even get a job! 🥳 I'm also here to ask you a question related to something that I found. I believe it's called 'destructuring'. May I ask you my question here?? 😥

  • @BrightBoost

    @BrightBoost

    Жыл бұрын

    Wow you got a job, that's amazing!! Congrats! (This makes my day, thanks for letting me know 🥰) Of course, ask your question and I'll see if I can help.

  • @immythic8351

    @immythic8351

    Жыл бұрын

    @@BrightBoost thanks a lottttt! It's all thank to you! ❤️ well, I had a method that received something like Map... variable. Then, since i saw that it used a map, I tried manipulating variable as a map but it didn't let me. Nonetheless, when I try to use the variable, the editor pops up something about streams. Do you know how to handle this kind of parameters? 😥 I removed the 3 dots and it allowed me to use it as a map, but I think I wasn't supposed to do that 😅😂

  • @BrightBoost

    @BrightBoost

    Жыл бұрын

    @@immythic8351 This ... in the parameter list is the varargs operator. This means that you can call the method with any number (including 0) of arguments of the specified type. In your case, it would accept multiple maps. Do you think that is what you encountered? You can google for varargs operator to get more details ☺