Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

Class definition

 
Deepak Chandrashekar Avanna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Ranchers,

I had a question regarding the following assignment.

Class cls = Item.class;

Can anybody tell me where is class for Item defined as I have not defined the 'class' for my Item class. I checked JLS for Object but did not find it there.

Thanks,
Deepak
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Report post to moderator
15.28 Constant Expression
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Report post to moderator
How is this different than the question that you posted yesterday?
 
Deepak Chandrashekar Avanna
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
I am really sorry for psoting the question again. It got accidentally posted as I was using the same browser and I accidentally pressed Enter instead of Backspace key.

Please ignore this post. Is there any way that I can even delete the post. I tried for one, but could not find it.

Thanks,
Deepak
 
    Bookmark Topic Watch Topic
  • New Topic