This site requires JavaScript, please enable it in your browser!
Greenfoot back
SPower
SPower wrote ...

2012/5/19

Write a Metaclass

SPower SPower

2012/5/19

#
Hi all, I want to write a Metaclass in Java. I searched the internet for help, but I couldn't find one. Can someone explain me how to write a metaclass in Java? Thanks.
SPower SPower

2012/5/26

#
Does nobody know?
davmac davmac

2012/5/26

#
You can't. What are you wanting to do exactly? (i.e. why do you think you need metaclasses)?
SPower SPower

2012/5/26

#
I was just wondering how the people behind Java wrote the Object class
davmac davmac

2012/5/26

#
Many of the methods are implemented as native methods (written in C or C++). Other than that, though, it's just a regular class - written in Java and compiled.
SPower SPower

2012/5/26

#
I understand, thanks davmac!
You need to login to post a reply.