Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Is this a valid expression val f: Int = (x: Int) => x + 1
Home
Scala Constructs
Is this a valid expression val f: Int = (x: Int) => x + 1
0
votes
asked
Apr 21, 2022
in
Scala Constructs
by
sharadyadav1986
Is this a valid expression val f: Int = (x: Int) => x + 1
a) Yes
b) No
valid-expression
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 21, 2022
by
sharadyadav1986
b) No, It is Invalid Expression
...