?
Java is a ........... language.
Answer & Solution
Correct Answer:
Option
B
The correct answer is Option B: strongly typed
In Java, it is recognized as a strongly typed language. A strongly typed language enforces strict type checking, meaning that the data type of a variable is checked at compile time and any type mismatches are not allowed without explicit typecasting.
Here's an explanation of the other options:
- Option A:
- Option C:
- Option D:
In Java, it is recognized as a strongly typed language. A strongly typed language enforces strict type checking, meaning that the data type of a variable is checked at compile time and any type mismatches are not allowed without explicit typecasting.
Here's an explanation of the other options:
- Option A:
weakly typed does not apply to Java. Weakly typed languages are those that allow for automatic type conversions and do not enforce strict type checking.- Option C:
moderate typed is not a standard term in programming language classification. Java is typically classified as strongly typed.- Option D:
None of these is not the correct choice as Java is indeed classified as a strongly typed language.
Join the Discussion
Login to post a comment or share your explanation.
Loginpublic static void main(String args[]){
short x = 10;
x = (short) (x5);
System.out.print("x="+x);
}
}
like windows, linux , apple etc. it works byte code i.e WORA (write once and read anywhere). It is robust and secure
language (i.e Exception handling and Multithreading) so,it makes strong.