What Java header file meaning?

User Avatar

Wiki User

โˆ™ 2018-04-25 20:40:14

Best Answer

Source code written in Java is simple. There is no preprocessor, no #define and related capabilities, no typedef, and absent those features, no longer any need for header files. Instead of header files, Java language source files provide the declarations of other classes and their methods.

User Avatar

Wiki User

โˆ™ 2018-04-25 20:40:14
This answer is:
User Avatar
Study guides


1 card


See all cards
23 Reviews

Add your answer:

Earn +20 pts
Q: What Java header file meaning?
Write your answer...
Still have questions?
magnify glass
Related questions

Which header file is used in pacakages java program?

Java doesn't use header files.

List out the java header files?

No header files in Java.

Why doesn't Java use header files?

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.

Header files in Java programming?

Java does not require header files like C/C++.

What is the header file of graphics?

The header file of graphics in TurboC is graphics.h

What is a dosh header file in c?

There is no header file named as dosh...

What is the different between header file and header pointer?

Header file is a file which is meant to be included into another file during compilation. Examples: string.h, stdio.h, inttypes.h. Header pointer is a pointer to an object called header (for example header of a linked list).

Difference between header file and library file?

Header file contains only the declaration of the function being used. While, the library file has the files of the declared function in the header file.

What is meant by function header in java?

That means, the header of a function. The header is the top part, before the opening braces.

When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).

What do java class file contains?

A java class file contains java classes.

Is header files in c are similar to packages in java?


People also asked