Not sure why it's throwing an error?


#1

am i missing a curly bracket?


#2

yes you need to add one more curly brace at the end of your code


Your code will always execute the default block because you are switching on continent which is of type int but when checking for the possible cases you are using chars


#3

tried the curly brace at the end now this happened


#4

You wrote

system.out.println("blah");

he correct syntax is

System.out.println("blah");

The s is capital