opinion of class type

R

rmacnak

In your opinion, do you think the primative classes (java.lang.Byte,
Long, Double, etc) and Void are reflective classes or not?
 
P

Paul Bilnoski

In your opinion, do you think the primative classes (java.lang.Byte,
Long, Double, etc) and Void are reflective classes or not?

They're not really "primitive classes", they're wrapper classes to
reference primitive data using object semantics.

I would say they are not reflective, because they are not equivalent,
i.e. they are not simply type aliases as in C#.
Primitive types in Java are primitive simply for performance reasons.
Their wrapper counterparts exist because of the shortcomings of
primitive types in an OO environment.

--Paul
 
D

daniel.w.gelder

In my opinion, you'll never make it to Java 102 if you don't follow the
class on your own. * ZING *
 
J

James McGill

In your opinion, do you think the primative classes (java.lang.Byte,
Long, Double, etc) and Void are reflective classes or not?


Reflection certainly works against objects of this type. What are the
criteria for deciding if a class is "reflective" or not?
 
J

Jeffrey Schwab

In your opinion, do you think the primative classes (java.lang.Byte,
Long, Double, etc) and Void are reflective classes or not?

What are "reflective classes?" What makes a class primitive?
 
M

Mike Schilling

In your opinion, do you think the primative classes (java.lang.Byte,
Long, Double, etc) and Void are reflective classes or not?

No, they're refractive classes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top