#include is not available | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

#include is not available

31st Jul 2020, 10:06 AM
DIVYESH SORATHIYA
DIVYESH SORATHIYA - avatar
2 Answers
+ 2
DIVYESH SORATHIYA This is not c++ or c. This is Java. https://www.quora.com/Why-does-Java-not-support-the-use-of-header-files https://www.quora.com/Which-header-files-are-used-in-the-Java-program#:~:text=In%20Java%20the%20header%20files,%2C%20interfaces%20and%20sub%2Dpackages%20.&text=brings%20in%20all%20the%20classes,in%20your%20program%20source%20file.
31st Jul 2020, 10:26 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
Maybe you should use `import` instead, #include is used in C & C++, not Java.
31st Jul 2020, 10:27 AM
Ipang