Posts by user129943 • 37 points
3 posts
-
1
votes1
answer137
viewsA: Python Script Creation 3
I think you got lost in the logic of your code. You print a message that values less than 0 are invalid, but you store it anyway. Also the error message is only printed if the first value is…
python-3.xanswered user129943 37 -
-2
votes1
answer223
viewsA: Access toString method from generic class
Then I don’t quite understand the question. Iterations are made over lists, if that’s what you want you should store all your employees on a List, but there’s no need to iterate over all objects if…
-
0
votes1
answer71
viewsA: Data comparison after nextLine java
Java has no operator overhead when you compare objects using ==, Java compares the reference of these objects. Even if the value of the strings are equal, the references are different, to compare…
javaanswered user129943 37