Is there any way in java, to create a method, which is expecting two different varargs? I know, with the same object kind it isn't possible because the compiler doesn't know where to start or to end. But why it also isn't possible with to different Object types? For example:
private void ask(int... x, String... b) { }
Please Explain !