類適配與物件適配