• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Nested / inner / local wording in the Exam

 
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's the reference for the wording in the exam? Static Inner Classes will be used or Nested Top-Level classes? Does Inner Classes refer to (static inner member classes, non-static inner member classes, local classes, anonymous classes) or just non-static inner member classes?
What's the reference? and if it's the JLS, it changed itself, as I read in an earlier post nested top-level classes are not considered anymore top-level... What wording would be used?? Kathey said that inner classes are heavily used in the exam, so maybe Kathey or anyone that is qualified to know what wording is used in the exam can "please" reply to this post with a list of the namings used and their segnificance or what they refer to...
thanks
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alfred,
IMHO you should not be that concern about the naming, but rather try to train yourself to recognize inner classes inside the code presented in the questions. Especially the anonymous inner classes. And see if they are correctly constructed and are not trying to perform any illegal actions. I just went through the exam two days ago, and my opinion is that they use very clear language in all theoretical questions. There is no ambiguity in that type of questions, so you should not worry about it. I believe they use the “static inner class” name rather then “top-level nested class”.
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
She's right about the questions not being ambiguous with respect to the wording, but there *has* been some confusion around the terminology, and we're in the process of changing it in exam-related literature (including the objectives).
If you replace the word "inner" with "nested" you'll be OK.
We used to say "inner classes" and "static inner classes" while *technically, a "static inner class" is not an inner class at all, but simply a top-level class nested within another class.
So... now we try to say "static nested class" and "nested class" so that we don't have to stick "top-level" on to the front.
But here's a summary:
===============
static nested class
static inner class
top-level nested class
top-level inner class
ALL of those mean the same thing!
===============
nested class
inner class
anonymous inner class
anonymous nested class
All of those mean a non-static nested/inner class, and then the only question is whether it's anonymous.
Kathy "in touch with her inner class" Sierra
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic