Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Z++
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Object-oriented extension to the Z specification language}} {{Distinguish||text=the Z++ that is a version of the [[C++ programming language]]}} {{Use dmy dates|date=April 2022}} {{no footnotes|date=January 2013}} '''Z++''' (pronounced ''zed'', or ''zee'' in American [[Z#Name and pronunciation|pronunciation]], ''plus plus'') is an [[object-oriented (programming)|object-oriented]] extension to the [[Z notation|Z]] [[specification language]]. Z++ allows for the definition of [[Class (computer programming)|classes]], and the relation of classes through [[Inheritance (object-oriented programming)|inheritance]], [[Association (object-oriented programming)|association]], or [[Object composition#Aggregation|aggregation]]. The primary construct of Z++ is a class. A Z++ class consists of a number of clauses which are optional. ==Z++ class structure== CLASS ClassName [OWNS List_of_attributes] [FUNCTIONS constant_definitions] [TYPE type_declaration] [ENTENDS list_of_super_classes] [OPERATIONS list_of_state_change_operations_definitions] [RETURNS list_of_query_operations_definitions] [ACTIONS all_operations_declarations] [INVARIANT predicates] [HISTORY RTL_predicates] END CLASS ==See also== * [[Object-Z]] ==References== {{refbegin}} * [[Kevin Lano|Lano, K.C.]], ''Z++, an Object-Oriented Extension to Z''. Z User Workshop, Oxford 1990, [[Springer Science+Business Media|Springer]], Workshops in Computing, 1991, pp. 151β172. * Lano, K.C., Formal Object-Oriented Development. Springer-Verlag, London, 1995. * AAOB - Thesis 2009. {{refend}} [[Category:1990 introductions]] [[Category:Specification languages]] [[Category:Z notation]] [[Category:Object-oriented programming]] {{compu-lang-stub}}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Compu-lang-stub
(
edit
)
Template:Distinguish
(
edit
)
Template:No footnotes
(
edit
)
Template:Refbegin
(
edit
)
Template:Refend
(
edit
)
Template:Short description
(
edit
)
Template:Use dmy dates
(
edit
)
Search
Search
Editing
Z++
Add topic