title: Java - make a function to create a variable with the name = String we input?
body: <p>How can i make a function:</p>
  
  <p>When i input a string "abc" this function create a variable with the same name, like this: <code>int abc = 10</code>.</p>
  
  <pre><code>void func("abc"){
  ..........
  }
  //I will have: int abc =10;
  </code></pre>
  
  <p>I can't do it, someone help me?</p>