can I have more than two finally
Yes, you can have as many try - catch - finally
combination you want but they all should be correctly formatted. (i.e syntax should be correct)
In your example, you've written correct syntax and it'll work as expected.
You can have in following way:
try
{
}
catch() // could be more than one
{
}
finally
{
}
OR
try
{
try
{
}
catch() // more than one catch blocks allowed
{
}
finally // allowed here too.
{
}
}
catch()
{
}
finally
{
}