W
W
WWH2017-10-13 23:48:34
Java
WWH, 2017-10-13 23:48:34

How to import Maze.java class from ru.Maze package?

How to import only Maze.java class? I can import all classes from a package by writing ru.Maze.* , but how can I import only one class?

package finalgame;

import ru.Maze.*;

public class FinalGame {

    public static void main(String[] args) {
        //Еще пишет здесь что не может найти символ
        Maze myMap = new Maze();

    }
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
illuzor, 2017-10-14
@iLLuzor

import ru.Maze.MyClass;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question