Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζεται πλέον.
Κάντε αναβάθμιση σε Microsoft Edge για να επωφεληθείτε από τις τελευταίες δυνατότητες, τις ενημερώσεις ασφαλείας και την τεχνική υποστήριξη.
What is the purpose of a default case in a switch statement?
default
It's used to specify the condition for the switch statement.
It's used to end the switch statement.
It's used to execute a block of code if no case matches the expression.
What happens if a break statement (or alternative keyword that prevents "fall-through") is omitted in a switch case?
The default case will execute.
The impacted case sections will be removed by the compiler.
The compiler will generate an error.
You must answer all questions before checking your work.
Ήταν χρήσιμη αυτή η σελίδα;
Χρειάζεστε βοήθεια σχετικά με αυτό το θέμα;
Θέλετε να δοκιμάσετε να χρησιμοποιήσετε την επιλογή Ρωτήστε το Learn για να σας καθοδηγήσει σε αυτό το θέμα;