Forums Register Login

Class.forName vs Class literal

+Pie Number of slices to send: Send
Hi all,

Whats the difference between what a
Class Literal does and the method..Class.forName(...) does..?

Where do we make use of them...?

Tx
+Pie Number of slices to send: Send
You could not do this with a literal class.

The moustache of a titan! The ad of a flea:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1003 times.
Similar Threads
The .class property
Class litral ??
keyword "class" as in "ABC.class"
Class.forname
Problem while playing with Reflection
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:18:45.