This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "semantics" Watch "semantics" New topic
Author

semantics

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
Sheriff

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

se�man�tics
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
Bartender

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.


Rob
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: semantics
 
Similar Threads
Daemon thread purpose?
post increment confusion
What is meant by "semantics of a class"?
How to find whether a compile OR a runtime Error
Objectives 10.3 WHAT WE HAVE TO DO HERE