Flashcards
Untitled
Cards in this deck (4)
- 1Se você declarar a classe como X, compilá-la e depois tentar usá-la como x minúsculo (java x), o Java te avisaException in thread "main" java.lang.NoClassDefFoundError:
X (wrong name: x) - 2- Se tentar acessar uma classe no diretório ou classpath errado, ou se o nome estiver errado, ocorrerá o seguinte erro:Exception in thread "main" java.lang.NoClassDefFoundError: X
- 3- Se esquecer de colocar static ou o argumento String[] args no método main:Exception in thread "main" java.lang.NoSuchMethodError: main
- 4- Se não colocar o método main como public:Main method not public.
Information
- Description
- Superior (Cursando) ENGENHARIA E DESENVOLVIMENTO DE SOFTWARE Flashcards on Untitled, created by paulo_tiago_oliv on 08/04/2014.
- Created by
- paulo_tiago_oliv · Apr 2014
- Updated
- Feb 19, 2016
- Views
- 7
- Tags
- Rating