logo-MindMajix
PostKotlinKotlin
I
Irshad Mohammad

Posted on 24th July 2024|37 views

0
votes

Kotlin Default Arguments

How the default argument in kotlin works?

1 answers
Answers
P
divija reddy

Posted on 24th July 2024| views

We can give the default values to the parameters within the function definition. If the function is called by passing the arguments, then these arguments are utilized parameters. If the function is called without passing the arguments, then the default arguments are used.

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number