answersLogoWhite

0

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

Updated: 8/20/2019
User Avatar

Wiki User

12y ago

Best Answer

No.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is header files in c are similar to packages in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Header files in Java programming?

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


What are the Names of header files in java?

Java doesn't use header files.


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.


What Java header file meaning?

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.


Importance of computer packages in construction?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality. 1. A package provides a unique namespace for the types it contains. 2. Classes in the same package can access each other's members.


How many packages available in java?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality.· A package provides a unique namespace for the types it contains.· Classes in the same package can access each other's members.package is a container in which similar classes are grouped together.package avoid the redundance of classes. it also provide security to hide the code only by importing the packege which contains the required class.


What is packaged programs?

A Java package is a mechanism for organizing Java classes into namespaces similar to the modules of Modula. Java packages can be stored in compressed files called JAR files, allowing classes to download faster as a group rather than one at a time. Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality. 1. A package provides a unique namespace for the types it contains. 2. Classes in the same package can access each other's members.


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 Packages in Java programming?

basically packages are a collection or a directory of similar classes. there are some inbuilt packages in java which prove to be really useful like the java.lang package which automatically is imported into your program. in addition you can also create your own packages and its really simple to create them! :)


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.


What kind of file contain java source code?

'.java' files contain java source code. One can access these files on windows by using 'notepad'.


What kind of files contain java souce code?

Those files have the extension .java