Unclosed character literal in java
<p>I'm new to java and when I tried to print basic hello world program. I am getting following error "Error:(11, 12) java: unclosed character literal "</p>

<pre><code>package com.company;

public class Main {
public static void main(String[] args) {

    //declare a variable

    char a;
    a = 'helloworld';
    System.out.println("type the char value: " + a);
 }
}
</code></pre>

<p>Can you please let me know where did I made a mistake ?</p>