English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

any thing related to Java language

2006-06-20 03:31:49 · 2 answers · asked by lal_musix 1 in Computers & Internet Programming & Design

2 answers

Java is indeed a strongly typed programming language. If you ask what is a strongly-typed programming language, read the wikipedia article on this topic (http://en.wikipedia.org/wiki/Java_programming_language)

If you ask why was Java designed to be a strongly-type, the answer is simple: one of the design principles behind Java was to take the good parts and from C++ (while leaving the bad parts out) and be familiar to C++ programmers. Strong typing was a C++ feature that was considered "good" by Java designers. In addition, making it weakly-typed would probably have been too much of a deviation from the C++ programming model.

2006-06-20 03:57:57 · answer #1 · answered by mikos 3 · 0 0

One of the main reason Java is a strong typed language is memory operation and control. Also a strong typed language leaves the CPU with a lot less room to crash and cause lots of miscalculating errors. So yes in terms of programing strong typed languages are a little harder to handle but in the long run they produce much better and safer programs.

2006-06-20 04:21:35 · answer #2 · answered by yairs2000 3 · 0 0

fedest.com, questions and answers