File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to access static variable of abstract class

 
siva venkata prasad
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a scenario ..

An abstract class is having a static variable which should get incremented by 1 everytime when an object of this class type is created.. Can any one suggest how my abstract class code should be?
 
Andrey Kozhanov
Ranch Hand
Posts: 79
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just use OOP features.
 
siva venkata prasad
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks . It helped.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic