Results 1 to 2 of 2

Thread: Anonymous class

  1. #1
    Junior Member
    Join Date
    Mar 2007
    Answers
    3

    Anonymous class

    Hai what is anonymous class plz explian.


  2. #2
    Contributing Member
    Join Date
    Sep 2006
    Answers
    962

    Re: Anonymous class

    1. An anonymous class is a local class without a name.

    2. An anonymous class is defined and instantiated in a single succinct expression using the new operator.

    3. While a local class definition is a statement in a block of Java code, an anonymous class definition is an expression, which means that it can be included as part of a larger expression, such as a method call

    If you want more about anonymous class then please go through the following URL.

    http://www.unix.org.ua/orelly/java-ent/jnut/ch03_12.htm


    ---------------------
    suresh


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact