title: I need to use multiple Strings created in a method inside a class in a different class
body: <p>So basically i have a method in a class, lets say Class A, that when you give it a String,
  uses a Split, to create multiple strings. This method would be something like this:</p>
  
  <pre><code>Public void xxxx(String entry){
  
       String[] Parts=entry.split(" ");
       String part1=Parts[0]; 
       String part2=Parts[1];
  </code></pre>
  
  <p>So now, i want to use this two strings, inside an if(....) in a different class, how do i do it?
  I need each parts (there are more than 2) in different if, and sometimes all together so, how do i use them? thanks </p>