Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

nested interface

Posted on 2016-08-16
5
Medium Priority
?
60 Views
Last Modified: 2016-08-17
Hi,

What is the nested interface. What are benefits of using it. How and when we use it?
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 14

Accepted Solution

by:
CPColin earned 2000 total points
ID: 41758796
Nesting an interface inside another interface or class is just a way to add additional information to its name. For example, nesting the interface SomeInterface inside the class SomeClass makes the name of the interface SomeClass.SomeInterface. There's nothing more to it than that.
0
 
LVL 7

Author Comment

by:gudii9
ID: 41759487
creating instance of nested class and nested interface seems to be completely different again
0
 
LVL 14

Expert Comment

by:CPColin
ID: 41759517
In what way? What are you asking?
0
 
LVL 7

Author Comment

by:gudii9
ID: 41759533
http://www.javatpoint.com/nested-interface

we seem to implement a class which implements that interface to use it

where as for nested classes we can directly refer as below from outer.inner then call the method
http://www.javatpoint.com/static-nested-class
0
 
LVL 14

Expert Comment

by:CPColin
ID: 41759561
Other experts have suggested that you avoid that site, because of its general low quality. I suggest the same. In the meantime, what are you actually asking about this stuff? I can't answer your question if you don't type any question marks.
0

Featured Post

Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

Question has a verified solution.

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

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

704 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