Skip to content

Java – Remove Items From Linked List

I have the following java class with constructor and getters and setters. And also another class, wagon which is used by the train class. I initialise a new train like so: I want to write a method that takes a train as an input, iterates through the wagons, if the cargo attribute matches a supplied string, th…

how to clean up generated data binding files?

I’ve got a problem I created the activity and xml files in a git branch. Commit these tasks, and change the branch to do something else. However, when build app, the following error occurred. ActivityDebugUserInfo is the file I created in the previous branch. There is no such file in the current branch.…

running Kafka on WSL and make producer on windows

I’m running Kafka on WSL. I’m trying to make simple producer like this (I’m using intellj) but there’s a problem, when I try to run the code it shows this error i even checked the port on my Windows my question is, is it impossible to make producer on windows and while running kafka on…