Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Member class

 
Felipe Machado
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I declare a member of an enclosing class ??

Tks, Felipe
 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
public class Enclosing{
public class MemberOfEnclosing{
}
}
 
Felipe Machado
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tks a lot!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic