Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inner Classes

 
Marcelo DeOliveira
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I have a inner class in a inner class?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you just try it out by writing a small program yourself and see what the compiler says if you try to compile your code? Experimenting is a great way to learn.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ofcourse we can create as many inner classes as we can..

 
Marcelo DeOliveira
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your answer. I did not have access to a computer with Javac until today. Surprisingly, A lot of people that I talked to did not know about nested Non-static inner classes.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marcelo DeOliveira wrote:Thank you for your answer.


you 're welcome.and hey you have written
almost a scjp

what is meaning of that? are you preparaing or have written the exam ?

just asking nothing else.
avi
 
Marcelo DeOliveira
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am preparing to take the exam in about 8 wks.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
best of luck!!
well i have my semester exams right now so i will write the exam in the first week of june.
 
avi sinha
Ranch Hand
Posts: 453
Google Web Toolkit Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
best of luck!!
well i have my semester exams right now so i will write the exam in the first week of june.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic