Science, Tech, Math › Computer Science Strongly Typed Print Abel Mitja Varela/E+/Getty Images Computer Science Java Programming PHP Programming Perl Python Javascript Programming Delphi Programming C & C++ Programming Ruby Programming Visual Basic View More By Paul Leahy Paul Leahy Computer Science Expert M.A., Advanced Information Systems, University of Glasgow Paul Leahy is a computer programmer with over a decade of experience working in the IT industry, as both an in-house and vendor-based developer. Learn about our Editorial Process Updated on June 01, 2017 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. Read More Declaring Variables in Java By Paul Leahy 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. Cite this Article Format mla apa chicago Your Citation Leahy, Paul. "Strongly Typed." ThoughtCo, Apr. 5, 2023, thoughtco.com/strongly-typed-2034295. Leahy, Paul. (2023, April 5). Strongly Typed. Retrieved from https://www.thoughtco.com/strongly-typed-2034295 Leahy, Paul. "Strongly Typed." ThoughtCo. https://www.thoughtco.com/strongly-typed-2034295 (accessed April 18, 2024). copy citation