What are Basic Java Language Elements?

 
 

Share on Google+Share on Google+

Java Coder
What are Basic Java Language Elements?
2 Answer(s)      8 months ago
Posted in : Java Beginners
Ads

Hello,

I have learned to setup Java and create first program. I want to know the Basic Java Language Elements.

What are Basic Java Language Elements?

Which is good tutorials of Java Language Elements?

Thanks

Ads
View Answers

April 11, 2017 at 5:47 AM


Hi,

Here are the details of Basic Java Language Elements:

1. Comments

Comments are used for commenting a part of source code. Example of comments:

inline /* ... */

end-of-line // ...

javadoc /** ... */

2. Literals

You can read more at Java Literals page.

3. Identifiers

Read full details at Java - Identifier and primitive datatype in Java.

4. Punctuation

Example are:

operators = + - * / %

== != < >=

separators . , ;

grouping () [] {}

Check tutorial at Basic Java Language Elements.

All Java tutorials at Java Tutorials and examples.

Thanks



April 11, 2017 at 6:13 AM


You should also learn following topics:

Java Keywords - Java keywords are reserved and you can't use it for creating the variables in your program.

Java Comments - Learn how to comment your Java code?

Java Data Types - Learn the data types in Java.

Java Literals - Lear to use the literals in Java.

Classes in Java - What are classes in Java and how to create a Class in Java?

Interface in Java - How to create and use Interface in Java?

Introduction to Java Arrays - You must learn arrays in Java very well.

Thanks


Ads









Ads

 
Advertisement null

Ads