Re: static and threads



On Sun, 25 Sep 2005 10:40:47 +0100, "Chris Uppal"
<chris.uppal@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote or quoted :

> In that language classes are full objects

In Java this is feels somewhat squishy. Classes are sort of like
objects. You have the static fields which are a bit like instance
variables of a class object. You also have the twin .class object that
owns methods like getresource. You don't have any direct way to
instantiate a class or modify its methods.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.



Relevant Pages

  • How to use java class object in ASP.NET?
    ... I have to translate an ASP project to ASP.NET, in the former project, a java ... the object "ccb.pub.RSAsig" is a java class object registered by ... object Obj not include the method generateKeys, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Can a class accept a message?
    ... In Java, classes can accept messages, for reasonable definitions of the word "message". ... sends the message "getName" to the class object for String. ... One could also call static methods a message that a class will accept. ...
    (comp.lang.java.programmer)
  • Re: How is tag interface functionality implemented in Java continued ...?
    ... "The method clone for class Object performs a specific cloning ... then a CloneNotSupportedException is thrown. ... Java library code how the exception is thrown ?? ... Java standard specifies how it should be implemented. ...
    (comp.lang.java.programmer)
  • Re: primitive as part of an object or not ?
    ... >>In Java, is it possible to have a primitive variable, that is not part of ... unless you consider the class object an object. ... you couldn't reasonably call static or local variables ... The Easiest Way to Train Anyone... ...
    (comp.lang.java.programmer)