Hello America2014-06-09 21:04:07
Hello America, 2014-06-09 21:04:07

A class with static members inside a parent class in Java. How to determine?

Umm, I forgot a little, how could this be done?

class public ParentClass{
   class public ChildClass{
    //Вот здесь хочу статические члены, чтобы не создавая объект их вызывать. Как?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Hello America, 2014-06-09

In short, I understand. You need the nested class itself to be static and the variables inside the static methods to be static too...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question