> how to create a marker Interface Pattern
*sigh* Do you really have to ask about how to create an interface with no methods?
> and where do we use these pattern in our real life
> developments
Did you have a look at the API? Did you search? Obviously not, or you would have seen e.g. Serializable.
> how to create a marker Interface Pattern
It's not a "Pattern" that I've ever heard. Just define an empty interface.
>
> and where do we use these pattern in our real life
> developments
Hardly at all. A couple of old API classes use them. I doubt anyone is creating new ones.