Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Terms

What are the Java Language Terms?

Here is a brief definition of some of the Java language terms. If you are familiar with a 3rd or 4th generation programming language the term in parenthesis below will help you associate the object oriented term to a familiar concept.

Class consists of variables and methods. Every Java applet is a class. (program)

Method is a group of statements that perform activities in a class.(subroutine)

Member Variable contains a value for a class that is available to all methods in the class.(common)

Local Variable contains a value available only to the method in which it is defined. (local)

Package is a group of classes bundled together for reference convenience. (library)

Object is an instance or occurrence of a class.

Naming Conventions
Class names typically are comprised of words that each begin with a Capital Letter. Method names usually begin with a lowercase letter and each subsequent word is capitalized. Both member and local variable names are usually in one of two formats. They could start with a lower case letter and each subsequent word is capitalized. Or they could contain underscores in between words or trailing single word names.

Language Syntax
Java statements are terminated with ";". Classes, methods and blocks of statements (if, for, while) are enclosed in brackets like "{ }". Conditional clauses associated with an if statement are placed in parenthesis like "( )". All statements, parameters and variable names are case sensitive. For example "North" is not the same as "NORTH" when used as a parameter to the add() method. All variables must be declared and they must have one type like; int, boolean, float. Java provides the typical mathematical and character manipulation operators like +, -, *, /, ++, and many others.

For more details, consult these Internet resources for a comprehensive explanation of Java fundamentals and an introduction to object oriented programming.

Previous Next



Up to => Home / Authoring / Java / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers