What are the limitations in java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are the limitations in java

What point do you think java would break.

9th Oct 2019, 10:07 AM
~Void~
~Void~ - avatar
4 Answers
+ 3
The moment you miss a semicolon or try and store the wrong type...
9th Oct 2019, 10:33 AM
D_Stark
D_Stark - avatar
9th Oct 2019, 11:07 AM
A͢J
A͢J - avatar
+ 2
1. Very slow : why? Because it first convert your code to byte code and make another file with extension of .class and then compile the code and then prints the output. 2. No templates while c++ have it. 3. No Function pointer while c++ also have it.
9th Oct 2019, 10:18 AM
Chirag Kumar
Chirag Kumar - avatar
0
Chirag Kumar its slow if compared to compiled language, but the basis idea is compile once run everywhere. and (what wikipedia said [ https://en.m.wikipedia.org/wiki/Just-in-time_compilation#CITEREFAycock2003 ] its still faster than interpreting the source code. its flexible as interpreted language but faster. template ? its called Generic in java AJ/AY looks outdated, it keep talking about applet which dead years ago. James~Francis what point java would break ? when oracle decide it. i almost gave up on java when the news about licensing still a bit vague a year ago.
9th Oct 2019, 1:13 PM
Taste
Taste - avatar