aspose file tools*
The moose likes Beginning Java and the fly likes Checking object type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Checking object type" Watch "Checking object type" New topic
Author

Checking object type

Kris Venture
Greenhorn

Joined: Jun 11, 2009
Posts: 2
Hi all,

I have a problem with identifying objects.
There is a class that extends another one:


How can I check that class AAA (or instance) can access public methods from A?

is not working if AAA is defined in different package.

Thanks a lot.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

is not working if AAA is defined in different package.


Can you elaborate your issue a bit more? The exception being thrown? The compile error?

What you are describing doesn't make sense...

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Kris Venture
Greenhorn

Joined: Jun 11, 2009
Posts: 2
My mistake - I misspelled my class name.
rk palleru
Greenhorn

Joined: Feb 26, 2009
Posts: 22
i think specify the fully qualified package name in classes
Anirudh Aithal
Greenhorn

Joined: Jun 09, 2009
Posts: 7
Sorry, Posted in wrong post.


Regards,
Anirudh
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Checking object type