Solved

this.getClass()

Posted on 2010-11-22
2
458 Views
Last Modified: 2012-05-10
If I do this:
System.out.println (this.getClass());
and it outputs:
com.mycompany.MyClass$1
What does the $1 mean?
0
Comment
Question by:allelopath
2 Comments
 
LVL 26

Accepted Solution

by:
ksivananth earned 500 total points
ID: 34188890
some annonymous inner class with in MyClass
0
 
LVL 1

Author Comment

by:allelopath
ID: 34188940
ah yes, makes sense now.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
egit plugin on eclipse 8 63
Should localization be done inside spring controller 5 26
MySQL  on Tomcat 8 46
going to wrong jsp page 2 21
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question