Search:

Type: Posts; User: helloworld922

Search: Search took 0.11 seconds.

  1. Replies
    5
    Views
    1,336

    Re: An easy question

    An anonymous class is just like a regular class, except it has no name. That means you can never refer to the type.


    new BaseType(base_parameters){
    // pretty much everything you can put into...
  2. Replies
    5
    Views
    1,336

    Re: An easy question

    You are creating an object of an anonymous class, which extends/implements javax.mail.Authenticator (depends on if javax.mail.Authenticator is a class or an interface).
Results 1 to 2 of 2