How you define Abstract class
Answer: By using key word abstract class can be define as abstract class. Please see example below:
package com.builder.interfaceTest; public abstract class AbstractClassTest { abstract void test(); public static void main(String args[]) { System.out.println("Test"); } }
Output: