Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

Only 2 more days left for exam, pls help me....

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ques 1:
Can an anonymous class be a subclass of another class?
(i.e Can an anonymous class uses extends keyword?)
If yes, can this be possible?
new Interfacename() extends Otherclass{

Ques 2:
Can an anonymous class implement an Interface?
(i.e Can an anonymous class uses implements keyword?)
Ques 3:
Eventhough i'm clear with the Collection,Map,Set,List I could not get the correct answer as i was misleaded by the question.
Q1: without ordering,duplication or perfect retrival mechanism
Q2: without ordering,duplication and perfect retrival mechanism
what are the answers for these q's and how to find it out?


 
Trailboss
Posts: 23036
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you get these questions?
I'm moving this to the Programmer Certification forum ....
 
I am mighty! And this is a mighty small ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!