#codeeveryday: My journey — Day 51

Sekinat Oluwakunmi Yahya
Nov 2 · 1 min read

so today I did abstract classes.

Abstraction allows you to define the name/functionality of something without actually implementing it.

Interface is a type of abstraction.

Abstract classes are classes that define methods but do not provide an implementation of those methods. the implementation is left for the class that inherits from the abstract class.

so they’re similar, interfaces and abstract classes except for the fact that abstract classes is actually still a class. you can still have methods defined within it that are not abstract. you can still inherit from it, override methods you need and leave out the ones you don’t need (you do HAVE TO implement the abstract methods though). you have have all kinds of access modifies you want for your methods and variables.

interfaces just allow you to define the classes and variables but they are automatically public final methods and public static final variables respectively. all methods within an interface is abstract.

so those are the differences.

estudio mi espanol como siempre. soy en nivel sietenta y sies. entonces eso es buena. pero soy no aprendiendo nueva cosas, entoces eso es mal, lol

I have started my tahajjud journey as well, Allah help me.

#wemove

Gratitude unlocks the fullness of life. It turns what we have into enough, and more. It turns denial into acceptance, chaos to order, confusion to clarity. It can turn a meal into a feast, a house into a home, a stranger into a friend.

Melody Beattie

Sekinat Oluwakunmi Yahya

Written by

Interested in cloud infrastructure software engineering.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade