can any one please help me understand this code block of java
String [] files= file.list(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
// TODO Auto-generated method stub
return true;
}
});
This is just example i need to understand the concept of new instance with override method inside method parameter.
I understand what this code do but i need to understand the concept*