0
Hello, I was researching on Java and I came across the following code:
cliente.getInetAddress().getHostAddress()
I didn’t understand it very well. Is this a method within another method? I tried to do:
public class Post {
public void Post(){
public void test(){}
}
}
But Netbeans says the code is wrong. Well, I’d like to know how it works (if you could implement a simple example code)