8- The Consumer Interface
4:06
4 ஒலிப்பேழைகள்
2 அத்தியாயங்கள்
90 துண்டுகள்
ஒலிப்பேழைகள்
அத்தியாயங்கள்
-
0:03அத்தியாயம் 1: The consumer interface represents an operation that takes a single argument and doesn't return a value. 102s · Speaker 1
The consumer interface represents an operation that takes a single argument and doesn't return a value. Now, why does this matter? Why do you have to learn about the consumer interface? Well, a lot of methods in Java expect an object that i…
-
1:46அத்தியாயம் 2: two, and three. 137s · Speaker 3
two, and three. Now there are two ways to iterate over this list. We can use a for each loop. So for each item in list print each item. Now there is another way to iterate over this list. We can call list .foreach and take a look. this meth…