This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
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?


 
paul wheaton
Trailboss
Pie
Posts: 21450
Firefox Browser IntelliJ IDE 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 ....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic