Solved

what are implicit references in java

Posted on 2014-12-19
2
211 Views
Last Modified: 2015-01-07
Hi
I have hears about implicit references in java. I guess ita something like java putting some code in a class which we didnt write.

Please explain what exactly it is and when and how its done

Thanks
0
Comment
Question by:Rohit Bajaj
2 Comments
 
LVL 27

Accepted Solution

by:
dpearson earned 500 total points
ID: 40510311
The only type of implicit reference I'm aware of in Java is when you create an inner class:

public class Outer {
    public class Inner {
    }
}

The Inner class has a reference to the Outer class, which I guess you could call "implicit" because you don't create this as a developer.

Is this what you mean?  It might be good to get a bit more context on where you are hearing about this.

Doug
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How  can  i  resolve  HTTP Status 404 -? 8 58
jmss example java 2 31
hashmap order 17 40
java mysql insert application 14 41
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
This video teaches viewers about errors in exception handling.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question