A method that converts a string to a primitive integer data type-
Explain with the help of examples,the purpose of default in a switch statement.
The above questions are of the programming language java. plz answer these in order to gain the brainliest answer
Answers
Answered by
1
Interger.parseInt() in Java
the purpose of default in switch statement is to give a by default case that executes if no case matches the value of variable in switch case statement
the purpose of default in switch statement is to give a by default case that executes if no case matches the value of variable in switch case statement
alpha71:
added it
Similar questions