can you declare a variable with the type of an abstract class? June 21, 2017 mfadmin Java Programming Average Rating 0 out of 5 stars. 0 votes.You must log in to submit a review. can you declare a variable with the type of an abstract class? yes