Please correct me if I am wrong somewhere. I have been taught,that
now there is a question also,whether all these thing is stored for every object or just one object is created to know about the information
Also do tell me What does this Field class in actual have? like for eg
class b
{
String s="sdnla";
}
and there are two objects of b class,b1 and b2,what does Field class object have?
Subject-Verb Agreement. In order for a sentence to be grammatically correct, the subject and verb must both be singular or plural. In other words, the subject and verb must agree with one another in their tense. If the subject is in plural form, the verb should also be in plur al form (and vice versa).
—used as a way of making a statement sound less assertive Correct me if I'm wrong, but I think you owe me another dollar.
You say ' correct me if I'm wrong' to indicate that you are not entirely sure that what you are about to say is true. As I recall, but correct me if I'm wrong, it was in a car park in Carmarthen.
In normal circumstances, there is just one Class object per class. Not per object. If Java created all that structure for every object, it would use enormous amounts of memory; far more than is actually needed.
If you are creating multiple classloaders within your application, then you may end up with multiple Class objects per class - one held by each classloader. But very few of us ever do such a thing. You might do this if you were programming an application server, or something of that type.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With