logo

Crowdly

Codul de mai jos este valid? class Test {     static class Statica { ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

  1. Codul de mai jos este valid?

class Test {

    static class Statica {

        void mesaj() {

            System.out.println("Salut din clasa statică");

        }

    }

}

 

public class Main {

    public static void main(String[] args) {

        Test.Statica s = new Test.Statica();

        s.mesaj();

    }

}

More questions like this

Want instant access to all verified answers on moodle1.ceiti.md?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!