function,
is this a good example?
i want a to get height of a tree but i dont want end-user to access my tree root so i write public getheight function that call the private one with parametr root in it
Yea its a good practice..
Обсуждают сегодня