• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

SCJA Tipps

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, i’ve found these notes (tipps) for SCJA, but I have difficulties in interpreting them: Can someone give code examples or say in few words, what exactly stand behind these notes?

* declarative user interface construction – is NOT part of the J2EE specification.
what does it mean: declarative user interface construction? Maybe an example is helpful.




* In Java an enumerated type is represented as first-class object.
is there a definition in java for these first-class objects?




* Classes that do NOT support information hiding are NOT treated specially in Java
"treated specially" in what manner?




* Attributes incur a runtime penalty. However, the Sun hotspot JVM usually can eliminate the added overhead by “inlining” the methods where they are called.

Maybe anyone have a code-example? why can attributes trigger runtime errors??



* Both class associations and class compositions relationship may be of any multiplicity.
in compositions the n*n multiplicity is not possible, or ??



* Compositions may also have navigation methods, but these methods must NOT pass references to the owned objects. This is usually achieved by passing back a copy of the object rather than the owned object itself.

code example?

Thanks
Sybyll








 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where did these little snippets of wisdom come from? I have a feeling that some of these statements would make more sense if they were placed in context.

-Cameron McKenzie
 
Sybyll Jones
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i found these notes at a page of a guy who made the scja called alper. The other notes are very helpful,
but i have difficulties with these few examples...Do you have an idea to one of them?



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic