Hybrid Flow Grant Type

I know that Okta supports Hybrid flow for web applications which in turn is a combination of Authorization Code flow and Implicit Flow. Also, it was mentioned that grant type must include both so that we get response_type as code token or code id_token or code id_token token.What should I do so that I get this response_type. I have selected implicit and Authorization code flow in my application’s settings. But when I execute the code, auth code flow is only getting executed . I say this because my response_type is code which means authorization code flow is executed. Please let me know how to set the response type and grant type.
PS: Iam using Java Spring boot application for this.