title: Calling a function with arguments
body: <p>I code in Python usually and I've started learning Java, but I'm confused in calling a method with arguments. Indeed in Python you can call a function with an argument like this:</p>
  
  <pre><code>my_function(argument)
  </code></pre>
  
  <p>after having created it like this :</p>
  
  <pre><code>def my_function(argument):
      #Here I can use my argument like this
      print(argument) #if argument is a string
  </code></pre>
  
  <p>But I haven't found how to do the same thing in Java. In fact I would especially like do this :</p>
  
  <pre><code>return new webPage() //this call my file named "webPage"
  //But when I'm calling, I want to send the url of the
  //web page and recover it in the other file
  </code></pre>