BAEL-4531 (#10093)
* Added code for checking if a class is abstract or not. * Renamed test name as per review comments.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.baeldung.reflection.check.abstractclass;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalTime;
|
||||
|
||||
public abstract class AbstractExample {
|
||||
|
||||
public static String getAuthorName() {
|
||||
return "Umang Budhwar";
|
||||
}
|
||||
|
||||
public abstract LocalDate getLocalDate();
|
||||
|
||||
public abstract LocalTime getLocalTime();
|
||||
}
|
||||
Reference in New Issue
Block a user