Java inside of PHP - How to use Abstract classes?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Sembiance
Forum Newbie
Posts: 1
Joined: Sun Nov 30, 2003 10:24 pm
Location: Pennsylvania, USA
Contact:

Java inside of PHP - How to use Abstract classes?

Post by Sembiance »

I have an abstract class, and I need to call one of it's functions.
But you have to instaniate all objects first in PHP like so:

$javaObject = new Java("org.custom.abstractobject");

But since it's declared as Abstract, it can't be instantiated, and thus throws an Instanation exception.

Does anyone know how I can access it's members without instantiating it?
Post Reply