It's not a secret anymore!
The moose likes Beginning Java and the fly likes semantics Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: semantics
 
Similar Threads
post increment confusion
Daemon thread purpose?
How to find whether a compile OR a runtime Error
Objectives 10.3 WHAT WE HAVE TO DO HERE
What is meant by "semantics of a class"?