Results 1 to 6 of 6

Thread: Header files of Java

  1. #1
    Join Date
    Dec 2009
    Posts
    38

    Header files of Java

    Hello Friends,

    I am IT student and currently learning the JAVA programming language. I know that it mandatory to include the header files in the program to access the different inbuilt classes of the java programming.
    Please let know some available header files of the java language. I would greatly appreciate your any help.

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Header files of Java

    Hi friend,

    Please go through the following some java header files:
    • mqbytes-message.h: This header file comprises Function for getting, setting, creating bytes message.
    • mqconnection.h: This header file comprises Function for closing , managing connections.
    • mqcrt.h: This header file comprises C-API public header files

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Header files of Java

    Hello Friend,

    There are many header files are available in the java programming. The number of java header files are comparatively more than C and C++ programming language. If you want to display error code function in your java program then you need to include "mqerrors.h" header file. The "mqssl.h" header file is used to initialize the SSL libraries of java language. If you want to use enumeration function then you should include "mqtypes.h" header file in your program.

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Re: Header files of Java

    Hi,

    Refer the below java example of header file. In this example I have included the "import java.io" header file at the beginning of the program:
    import java.io. //header file

    Class HeaderDemo
    {
    Public static void main(String args [])

    System.out.prinltln("Welcome in JAVA ");

    System.out.prinltln("This is the program for java header file");

    }

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Re: Header files of Java

    If you don't include the header file in program and try to use the function of that header file, then you will definitely get the compilation error. And to avoid this it's compulsory to use the header file. If you want to be aware about different java header file then please go through below given link:
    http://docs.sun.com/app/docs/doc/820-5206/aelgo?a=view

  6. #6
    Join Date
    Oct 2005
    Posts
    2,393

    Re: Header files of Java

    Hi, Please study carefully below java header files:
    1. mqbasictypes.h
    2. mqversion.h
    3. mqcallback-types.h
    4. mqconnection-props.h
    5. mqproperties.h
    6. mqerrors.h
    7. mqmessage.h
    8. mqcrt.h
    9. mqstatus.h
    10. mqbytes-message.h

Similar Threads

  1. Connect USB 3.0 front case panel header to motherboard w/o a header?
    By Dogs-Day-Out in forum Motherboard Processor & RAM
    Replies: 4
    Last Post: 14-04-2012, 07:02 PM
  2. Why we use Header Files
    By Jaiwanti in forum Software Development
    Replies: 3
    Last Post: 19-11-2009, 08:25 AM
  3. IIS7: Add expires header or cache-control header
    By quota in forum Software Development
    Replies: 3
    Last Post: 06-06-2009, 07:45 PM
  4. Help Regarding Header Files
    By Jagdish Gada in forum Software Development
    Replies: 4
    Last Post: 06-03-2009, 12:58 PM
  5. Replies: 2
    Last Post: 12-01-2009, 08:40 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,159,559.21607 seconds with 16 queries