Showing posts from September, 2022

Digital Marketing

Get Domain from Email address in MySQL

select substring(b.address,POSITION('@'in b.address)+1) as domain If b.address is an email address.

Differences Between Interfaces and Abstract Classes in JAVA

A difference between JAVA abstract classes and interfaces is that abstract classes can implement some of the methods that they define. Interface methods are always abstract.

Java class hierarchies are linear.

A class can have only one direct superclass that itself can have only one direct superclass and so on.