• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access instance variables of Abstract class.  RSS feed

 
Manaf Abdul
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since abstract class cannot be instantiated therefore you cannot access their variables by creating an object so how do you access the variables of abstract class. Please explain with a simple example .
 
Tim Cooke
Marshal
Posts: 4044
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Tutorial on Abstract Methods and Classes should cover that for you. They have examples too.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!