variable-assignment tag

2 questions


1 answers
156 views
0
+= operator in Java

As far as I know, i+=j; and i=i+j have the same meaning int i = 5; long j = 8;If I = i+j;, it can't be compiled. If I = j;, it runs well I wonder why.


1 answers
82 views
0
After declaring several empty lists, I want to put proper values in the empty list according to the conditions

JNA = []KAL = []AAR = []JJA = []ABL = []TWB = []ASV = []airlines = ['lj-jna', 'ke-kal', 'oz-aar', '7c-jja', 'bx-abl', 'tw-twb', 'rs-asv']for i in airlines: driver.get('https://www.flightradar24.com/da...


© 2024 OneMinuteCode. All rights reserved.