is there a way to have a default value for a function so that if no values are passed, the function uses the default one

heres what im talking about in c++
nameoffunction (int x, int y = 0)

so if u call the function with only one parameter, the function will use 0 for y

i want the same thing but for VB