Forum Stats

  • 3,722,782 Users
  • 2,244,412 Discussions
  • 7,850,085 Comments

Discussions

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Lesson 3-1. Slide 9.

Alexey M
Alexey M Member Posts: 3
edited December 2016 in Java Lambda MOOC

while ((String s = reader.readLine()) != null) lines.add(s);

This code does not compile. You can not declare a variable in while expression.

Best Answer

Answers

Sign In or Register to comment.