You can create a class that only exist to be inherited from other classes so that it can provide shared behaviors. In which case, it will never be instantiated. This is called an abstract class and is denoted in code with the keyword abstract in front of the class which means Java will not allow it to be instantiated and other classes must inherit from it using the extends keyword before instantiating an object.
abstract class myClass { ... }