if you are that original of a thinker try it. i want to. I would have to say no though because(if nothing else) your class is in the default package and so is java.lang.* which includes java.lang.Object
Joined: Dec 07, 2000
i have tried it and it is working fine like any other class . then what is the difference between java.lang.Object and this user defined one ?
The difference is the package name. You class isn't in the java.lang package. Your class will still extend java.lang.Object though because ultimately every class has to! I think it owuld be very confussing to have another class called Object though.
Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.