Guess the Language!

Can you identify the programming language from the code snippet?

// Code snippet will appear here...