define a class statepair with two generic types (type1 andtype2), a constructor, mutators, accessors, and a printinfo()method. three arraylists have been pre-filled with statepair datain main():