answersLogoWhite

0

A strongly typed programming languages is one that requires the type of a variable to be explicitly stated. C is a strongly typed language. You must declare the type of data a variable will store for C to interpret it: int myVariable;

myVariable = 25; Perl is a loosely typed language. There is no need to declare the variable type before using it: $myVariable = 25;

$myVariable = "A String.";

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
JudyJudy
Simplicity is my specialty.
Chat with Judy
More answers

You cannot make any mistakes or it will not compile and it is also case-sensitive.

User Avatar

Wiki User

15y ago
User Avatar

Add your answer:

Earn +20 pts
Q: Why Java is called strongly typed language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Why java is a strictly type language?

C is not a strongly-typed language, it is weakly-typed. This means that it is possible to work around the type system. That is, types can be explicitly or implicitly converted to other types. A strongly-typed language simply wouldn't allow this. However, C is statically-typed, which means that values are bound to types at compile time, rather than at runtime as they are in dynamically-typed languages.


What is strongly typed programming language?

Yes, Python is strongly-typed. You can test if any language is strongly-typed with a very simple example: x = 1 y = "2" z = x + y The above will not compile in a strongly typed language because y is a string, not a number. That is, the language will not implicitly convert y to a number simply because you used it in a numeric expression. A weakly-linked language will perform the conversion behind the scenes. Note that some strongly typed languages will permit the following: value = 1 value = "one" This is an example of dynamic typing; the same variable has explicitly changed type. This is not possible with statically typed languages. However, dynamic typing does not imply weak typing. Dynamic typing is explicit, weak typing is not.


What is the difference between cc plus plus and java?

C is a procedure oriented language ,Where C++ & java are object oriented language.But java is platform independent.So generally C is called POP.C++ is called OOP.But java is OOP , which is platform independent.If java does not support primitive data type then it is called as pure object oriented language.


Is the java is procedural language?

Java is an Object Oriented language not a procedural language


Does Visual Java plus plus and Java Builder is different from the Java language?

Yes!Visual Java plus plus and Java Builder is different from the Java language?