That's what interfaces exactly do ! Have you read about it first !