Sollicitatievraag bij Infosys

There are two interfaces A,B and class test. Both interfaces contain method write(). How you will call write() from interface A and B specifically in class test