S
Sathyaish
Be gentle. I am new to Java. I did some VJ++ in 1999 for a few months
but that was about it.
1. Like there is a Reflector (developed by Lutz) for .NET that
disassembles Microsoft Intermediate Language and displays a tree view
heirarchy of object inheritence within the .NET framework, is there a
tool that does the same for Java byte code?
2. Like an Object Browser exists in Microsoft Visual Studio .NET
2002/2003/2005 and Microsoft Visual Studio Enterprise Edition 6.0, that
lets you browse objects contained in all the libraries your project
references, with the inheritence heirarchies and the
<documentation_comments/>, is there such a tool that exists for Java?
3. How do I get the byte representation of an ASCII string in Java? If
I had a tool like the ones described in my question number 1 and 2
above, it would have take me a few seconds to figure that out. In the
absence of such a tool, I can only grope on the Internet and Google
would be my best bet.
4. One book from the old edition I am using [COBLEY, ANDREW COMPLETE
GUIDE TO JAVA [Paperback] . - COMPUTER STEP, 1997 . - 1874029482] says
there is this operator in Java such that:
i++5 results in i = i + 5;
I tried it and i++5 didn't compile. Was that an operator in one of the
older versions of Java? Or, was it a typo and the author meant to say i
+= 5 instead of i++5?
5. Does java have a pre-processor? Is that 'import' thingy a
pre-processor directive?
6. If I do:
import java.awt.*;
Will it get everything inside the awt package and bind it statically
into my code? Or, will it dynamically check for stuff I am using in my
code and then only get those objects I use out of awt?
7. If I did:
import java.awt.Graphics;
import java.awt.*;
would it produce duplicate definitions for the Graphics class?
Basically, the above questions 5 to 7 are just one question -- is that
import thingy a pre-processor?
8. How do you declare a constant in Java? Does Java have constants? I
am guessing it should.
Thanks.
but that was about it.
1. Like there is a Reflector (developed by Lutz) for .NET that
disassembles Microsoft Intermediate Language and displays a tree view
heirarchy of object inheritence within the .NET framework, is there a
tool that does the same for Java byte code?
2. Like an Object Browser exists in Microsoft Visual Studio .NET
2002/2003/2005 and Microsoft Visual Studio Enterprise Edition 6.0, that
lets you browse objects contained in all the libraries your project
references, with the inheritence heirarchies and the
<documentation_comments/>, is there such a tool that exists for Java?
3. How do I get the byte representation of an ASCII string in Java? If
I had a tool like the ones described in my question number 1 and 2
above, it would have take me a few seconds to figure that out. In the
absence of such a tool, I can only grope on the Internet and Google
would be my best bet.
4. One book from the old edition I am using [COBLEY, ANDREW COMPLETE
GUIDE TO JAVA [Paperback] . - COMPUTER STEP, 1997 . - 1874029482] says
there is this operator in Java such that:
i++5 results in i = i + 5;
I tried it and i++5 didn't compile. Was that an operator in one of the
older versions of Java? Or, was it a typo and the author meant to say i
+= 5 instead of i++5?
5. Does java have a pre-processor? Is that 'import' thingy a
pre-processor directive?
6. If I do:
import java.awt.*;
Will it get everything inside the awt package and bind it statically
into my code? Or, will it dynamically check for stuff I am using in my
code and then only get those objects I use out of awt?
7. If I did:
import java.awt.Graphics;
import java.awt.*;
would it produce duplicate definitions for the Graphics class?
Basically, the above questions 5 to 7 are just one question -- is that
import thingy a pre-processor?
8. How do you declare a constant in Java? Does Java have constants? I
am guessing it should.
Thanks.