Hello, I was searching for Java and I came across the following code:
cliente.getInetAddress().getHostAddress()
I did not quite understand. Is this a method within another method? I tried to do:
public class Post {
public void Post(){
public void test(){}
}
}
But NetBeans accuses the code is wrong. Well, I'd like to know how this works (if you could implement a simple example code)