• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Abstract?!!

 
Aparna Narayanan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
1) Are there something called abstract variables? Common sense dictates that there is no existence of abstract variables. But, RHE book gives a mapping of the feature and the modifier acceptable for the feature, in that it specifies abstract variables are available. Can someone comment on this?
2) Does anyone have the errata page of RHE? Maha Anna's home page has a link, but looks like the site is down. Does anyone have a soft copy of it? For the benefit of everyone, could someone post it here?
3) Does there exist static classes? If yes, what is its use?
Thanks,
Aparna
 
Rajesh Hegde
Ranch Hand
Posts: 112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i do not know if there is something called abstract variables. Well, common sense dictates that there cannot be one.
About , static classes- They do exist. Only an inner class be static. To know more about the purpose of static inner class, check out the Gradma's tales in Javaranch. It gives good idea.
From what i could gather, a static inner class is just a top level class. It doesn't server much purpose i think.
Rajesh
 
Randall Twede
Ranch Hand
Posts: 4439
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the java language specification says variables cant be abstract. I'm not sure about Static classes but I think not.
 
Randall Twede
Ranch Hand
Posts: 4439
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i meant I think only inner classes can be static.
 
Aparna Narayanan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks a lot for your reply.
But can anyone give me the errata page of RHE?
Thanks,
Aparna
 
Aparna Narayanan
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks a lot for ur reply.
But can someone give me the errata page for RHE?
Thanks,
Aparna
 
Shubhangi A. Patkar
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try This link . I was able to open the page but some people hv not been able to.
Shubhangi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic