0
votes
0answers
53 views

Referencing a library in a project in a way that allows dependent libraries to reference classes in them as well?

In this specific case, I'm working with Bukkit and Forge for Minecraft. I have bukkit plugins that reference my bukkit library and forge mods that reference my forge library. Naturally, there are a ...
22
votes
4answers
3k views

Why do C++ and Java both use the notion of “reference” but not in the same sense?

In C++ a reference argument to a function allows the function to make the reference refer to something else: int replacement = 23; void changeNumberReference(int& reference) { reference = ...
0
votes
2answers
191 views

Overriding - Access to Members with Reference Reassignment

I have recently been moving through a couple of books in order to teach myself Java and have, fortunately, mostly due to luck, encountered very few difficulties. That has just changed. I read a ...
52
votes
3answers
20k views

How is a Java reference different from a C pointer?

C has pointers and Java has what is called references. They have some things in common in the sense that they all point to something. I know that pointers in C store the addresses they point to. Do ...
4
votes
2answers
576 views

Is there a canonical reference on GUI programming in Java?

I'm practicing Java in Netbeans. Is there a reference out there that's the de-facto standard for describing best practices, design methodologies, and other helpful information on GUI programming in ...