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 9168281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T15:35:30+00:00 2026-06-17T15:35:30+00:00

in this question i m confused how all this .class is generated classes are

  • 0

in this question i m confused how all this .class is generated classes are A$Enum$1,A$Enum$2,A$Enum,A$Enum,A plz expalin the concept behind it, i opened the .class file in which i dont understand the A$Enum$2,A$Enum$1 class code plz expalin me concept what that.string means

class A
{
    enum Enum
    {
       Q1,Q2,Q3{

       },
       Q4 {

       },
       Q5;
    }
    enum Enum1
    {}
}

A$Enum$1.class code

class .String extends .String
{

    .String(String s, int i)
    {
        super(s, i, null);
    }
}
  • 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-17T15:35:31+00:00Added an answer on June 17, 2026 at 3:35 pm

    A total of 6 classes are created.

    A$Enum$1 //Inner class created for Q3  
    A$Enum$2 //Inner class created for Q4 
    A$Enum    //Enum, the enum defined within A
    A$Enum1   //Enum1, the enum defined within A
    A$1      //Not sure
    A        //Class A
    

    Here is the decompiled code for A$Enum$1

    Compiled from "A.java"
    final class A$Enum$1 extends A$Enum{
        A$Enum$1(java.lang.String, int);
    }
    

    Disassembled code for the same.

       33:  invokespecial   #14; //Method A$Enum$1."<init>":(Ljava/lang/String;I)V  
       36:  putstatic       #15; //Field Q3:LA$Enum;  
       39:  new     #16; //class A$Enum$2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this is a newbie question, but I am all confused. How should
lets take this example, which I think covers all my questions: class SomeClass {
I apologize in advance if this question seems confused. The behaviour I am seeing
Disregard this question: I've simply confused <script src=...></script> tag and <script> [some functions] </scipt>
This question may sprout from the fact that I'm still confused about context and
I don't think this question has been asked before. I'm a bit confused on
This is a bit confused question for those who don't now advanced SQL... However.
So this morning I posted a confused question about assembly and I received some
This is probably a very simple question but I'm a little confused how this
This might be basic question, however I am confused on some .Net Concpets. I

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.