Skip to content

Instantly share code, notes, and snippets.

@mrnirva
Created September 22, 2020 12:13
Embed
What would you like to do?
class Arac{
}
// Önce ana sınıfın adı girilir
// Daha sonra extends kelimesi
// Son olarak miras alınacak sınıf girilir
class Kamyon extends Arac{
}
class Otomobil extends Arac{
}
class Motorsiklet extends Arac{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment