Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By jim829

Thread: New To java

  1. #1
    narsi is offline Member
    Join Date
    Nov 2014
    Posts
    8
    Rep Power
    0

    Post New To java

    what is marker interface?i want to know internal implemenatation and how to write custom marker interface?

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    20,003
    Rep Power
    33

    Default Re: New To java

    Did you try asking a Search engine?
    If you don't understand my response, don't ignore it, ask a question.

  3. #3
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: New To java

    Quote Originally Posted by narsi View Post
    what is marker interface?i want to know internal implemenatation and how to write custom marker interface?
    If you don't know what it is then why do you want to write one and how do you plan on using it?

    Regards,
    Jim
    Norm likes this.
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    5,114
    Rep Power
    12

    Default Re: New To java

    Yeah most people don't know how to google. This is nothing Java specific so you can put the question into context for Google by adding the word "programming" in front of it. So Google: programming marker interface.

    And then I guess it is this first hit:

    Marker interface pattern - Wikipedia, the free encyclopedia
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  5. #5
    narsi is offline Member
    Join Date
    Nov 2014
    Posts
    8
    Rep Power
    0

    Talking Re: New To java

    Quote Originally Posted by Norm View Post
    Did you try asking a Search engine?
    Like that.marker interface is providing some run time functionality to jvm,how it is providing internally?with our marker interface we can provide runtime functionality to jvm?

  6. #6
    narsi is offline Member
    Join Date
    Nov 2014
    Posts
    8
    Rep Power
    0

    Default Re: New To java

    according to as i know marker interface means it does't contain any methods,but it providing some run time functionality to objects by jvm like who r implementing that interface.for example "Serializable"interface.for our interface also we can provide that type of functionality?if yes,how it?then i want to know internal implementation.

  7. #7
    narsi is offline Member
    Join Date
    Nov 2014
    Posts
    8
    Rep Power
    0

    Default Re: New To java

    than k u.but i want how it is providing that run time functionaly?we also provide thst functionality to our own interface?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •