answersLogoWhite

0

Why doesn't Java use header files?

Updated: 10/24/2022
User Avatar

Wiki User

15y ago

Best Answer

A header file in C is used to import the features of parent classes in our class. The same feature is provided by the import statement in Java hence the header files are not used.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why doesn't Java use header files?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the Names of header files in java?

Java doesn't use header files.


Why to use header file to easy know?

in the java as we use the inheritance property in the same way we can get the the inheritance property in c by using the prepared header files( .h files). there a single program in c use the many methods of many header files like math.h give us to use the use of floor(), sqrt() e.t.c. functions..


What is the use of DOS header files in graphics?

It shows the header information..


Why you use header files in c?

the use of header files is to add functionality. Header files are basically saying put code in that header file here so you don't have to type that many lines of code.


What is the use of header files as used in C programming?

Header files are used to have declarations. It is simple to include a single header file than writing all the needed functions prototypes.


What is the role of header files in c?

Header files allow the user to make use of predefined libraries in order to save time and reuse code.


Can you use header files on the bottem of the program?

You can use header files (more specifically "include" files) anywhere in a program. You just have to consider what type of statements, declarative or definitive, there are in the include file, and what your effective scope is. That is why they are generally at the top.


How many header are using in c programming?

No explicit limit, you can use so many header files as you want.


How do you find out how to use Java?

You can search online tutorials and if you read java files, you can learn by seeing things and figuring out how things work.


What java files can you delete?

Each and every, if you are their owner (or the system-administrator), and they are not in use in the moment.


How to change the project settings of a VC plus-plus program to use other external header files and link libraries?

Project - Settings - Link Tab Click on folder that has header files and librarys in the tree view Push OK


What is a header file and library function?

header files are predefined in c, they include the all necessary function to u to do your work easy instead of writing a function for printing a message or to read a input form key board we are using the library functions which are in the header files. there are different types of header files depending upon the requirement we use them.