| 
                  Lambda Expressions
                   An Introduction with Examples in Java  | 
            
| 
                   
                      
                     Prof. David Bernstein
                       | 
            
| Computer Science Department | 
| bernstdh@jmu.edu | 
               
            
         
            
         
         
            
         ->
                     
         
            
         return Statement:
      return statement is not an
              expression, it must be within enclosing curly brackets
              (i.e., in a block)return:
      void invocations
         
            
         
         
            
         final or (since Java v8)
              are effectively final