• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

what is implicit and explicit interface? and Collection Framwork?

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hey all,

yesterday while in interview i faced some Questioned

1] "What is implicit and explicit interface" and its example??

2] in one line tell me definition of "Collection Frameworks" and in Industry is it frequently used or only sometimes they use?? and where they used it(any example of application of it)??

Thanking you.
 
Bartender
Posts: 10780
71
Hibernate Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Amey Ambulgekar wrote:1] "What is implicit and explicit interface"? and its example??


I honestly don't know, but if I was to guess I would have thought that an "implicit interface" would be one implemented through a superclass (or subinterface) rather than directly through an implements clause. However, this page and this one would suggest that not only is there more than one interpretation (neither of them the same as mine), but that the phrase has a distinct meaning in C# that is not applicable to Java.

2] in one line tell me definition of "Collection Frameworks" and in Industry is it frequently used or only sometimes they use?? and where they used it(any example of application of it)??


The hierarchy of interfaces and classes for data structures provided in the Java standard libraries; and yes, it is used a lot.

As for the rest: Google and the Java tutorials are your friend. ShowSomeEffort.

Winston
 
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The example from C# is referring to implicit/explicit implementation of interfaces, which is not quite the same thing. However, I'm not convinced what the interviewer is referring to is standard terminology - I've no idea what they were looking for.
 
Greenhorn
Posts: 2
IntelliJ IDE Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Example for implicit interface:





ParentImpl is an implicit implementation for Parent interface. Hope to help you . . .


 
Marshal
Posts: 74054
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Henry Thai wrote:ParentImpl is an implicit implementation for Parent interface. Hope to help you . . .

I think you meant ChildImpl, but no, it isn’t an implementation at all, and that doesn’t help. You have not implemented any methods. There are several logical and syntax errors in what you posted. I have corrected the code tags; you should put the code after [code=java] and before [/code], and you cannot use coloured text.

And welcome to the Ranch
reply
    Bookmark Topic Watch Topic
  • New Topic