I am writing a method, `createMessage()` which will take two parameters - the type of message and the message itself.

So far I have achieved this by having both parameters of type `String`. The type of message will be one of three; instruction, error or success. The method contains a switch statement that will edit the message in a certain way based on its type.

The method will look something like this:

```
public void createMessage(String messageType, String message) {
    String output = "";
    switch(messageType) {
    case "instruction":
        output = "INSTRUCTION: " + message + "\n";
        //edits required for an instruction
        break;  
    case "error":
        output = "ERROR: " + message + "\n";
        //edits required for an error
        break;    
    case "success":
        output = "SUCCESS: " + message + "\n";
        //edits required for a success
        break;    
    default:
        throw new IllegalArgumentException("Invalid message type: " + messageType);
}   

```

This method would be called as `createMessage("instruction", "Enter your name:");`, whereas I would prefer to not have to use quotation marks for giving the message type - `createMessage(instruction, "Enter your name:");`.

**Question**: What would be the best way to achieve this?