Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8335839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:47:48+00:00 2026-06-09T03:47:48+00:00

I saw these codes. I’ve never seen such constructor, but I guess that it

  • 0

I saw these codes.

I’ve never seen such constructor, but I guess that it creates a new A instance with the implementation of a abstract method.

what is it called?

new A() {
    @Override
    public void onEvent() {
        dosomething();
    }
};
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T03:47:50+00:00Added an answer on June 9, 2026 at 3:47 am

    are you referring to an anonymous class? Its when you provide an implementation but never define a named class. In other words, you are providing an object in-place; you cannot reuse that definition elsewhere because you never wrote class MyClass {}, which is why it’s “anonymous”.

    See this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen as many different parameters as many source codes I saw. Is there
I saw these codes from here: http://learnr.wordpress.com/2009/08/10/ggplot2-version-of-figures-in-lattice-multivariate-data-visualization-with-r-part-9/ hc1 <- hclust(dist(USArrests, method = canberra)) hc1
I'm trying to run SQLite3 with CakePHP 2.0 In these questions I saw that
I was going through a book studying Linked list and saw these lines if(
I'm going to edit textbox value.. but i saw there's a problem protected void
I'm using the MSChart Control in a Web Project. I saw that there are
I saw some websites that (for example): if you want to view your message
I saw that this was used in sample code to accept all the warnings
I saw this answer to a similar question , but it always scares me
I saw this in someone's code and thought wow, that's an elegant way to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.