Solved

what are implicit references in java

Posted on 2014-12-19
2
204 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 83
web services creation SOAP vs REST 5 57
hashmap order 17 37
Running JavaFX on the Raspberry Pi 27 44
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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 tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

829 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