Solved

what are implicit references in java

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

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 82
print map entry 34 67
web services creation SOAP vs REST 5 39
throw exception 21 43
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

776 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