52937/explain-vararg-arguments
Hey,
With varargs, we can pass a variable number of arguments to a method.
scala> def func(arg:String*)=arg.mkString(", ") func: (arg: String*)String scala> func("red","green","blue")
The result will be:
res28: String = red, green, blue
RDD is a fundamental data structure of ...READ MORE
Fold in spark Fold is a very powerful ...READ MORE
Please refer to the below code as ...READ MORE
Hi, If we omit an argument in a ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
Hi, Yield keyword can be used either before ...READ MORE
Hey, You can see this following code to ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.