File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes semantics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "semantics" Watch "semantics" New topic


Mike Shn
Ranch Hand

Joined: May 26, 2001
Posts: 149
What is semantics in Java? As I understand for example: public , private, int, double are semantcs.. Right?
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
The symantics of a language is the proper structure of the language.

1. The study or science of meaning in language.
2. The study of relationships between signs and symbols and what they represent.
3. The meaning or the interpretation of a word, sentence, or other language form: We're basically agreed; let's not quibble over semantics.

And if you were looking for examples of symantical errors, just listen to Gee Dubwa for a couple of minutes.
Good Luck,
-Dirk Schreckmann

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
I'm not really sure what you are asking, but public , private, int, double are examples of keywords/reserved words in java.

SCJP 1.4
I agree. Here's the link:
subject: semantics
jQuery in Action, 3rd edition