1. Home
  2. Computing & Technology
  3. Java

Strongly Typed

By , About.com Guide

Definition:

Java is a strongly typed programming language because every variable must be declared with a data type. A variable cannot start off life without knowing the range of values it can hold, and once it is declared, the data type of the variable cannot change.

Examples:

The following declaration is allowed because the variable has "hasDataType" is declared to be a boolean data type:

boolean hasDataType;

For the rest of its life, hasDataType can only ever have a value of true or false.

Glossary:

# A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Explore Java
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Java
  4. Java Glossary
  5. S
  6. Definition for the Term: Strongly Typed>

©2010 About.com, a part of The New York Times Company.

All rights reserved.