Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (9.5k points)

All the primitive types in Java are lowercase except string, which is written as “String”. Can anyone tell me why is it like that?

1 Answer

0 votes
by (19.7k points)

The reason is String is not a primitive data type. It’s a class which is used as a reference type.

Interested in Java? Check out this Java Certification by Intellipaat.   

by (100 points)
reshown by
Take a look at our website for different <a href="https://takeoffprojects.com/big-data-final-year-projects">big data projects</a> for final year students.              https://takeoffprojects.com/big-data-final-year-projects

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Apr 19, 2020 in SQL by Sudhir_1997 (55.6k points)

Browse Categories

...