Posts by italo vinicius • 59 points
9 posts
-
1
votes2
answers335
viewsQ: How to validate a wrong typed data?
Since I could create an exception in case the user enters an invalid option, drop in exception, an error message appears and displays the menu again for the user. I created a flag starting with…
-
-3
votes1
answer133
viewsQ: Error: Exception in thread "main" - Stackoverflowerror
I created a library CRUD, but when I installed the class Biblioteca in the main, and was running occurred this giant error: Class Cadastrar: package Operacoes; import…
javaasked italo vinicius 59 -
0
votes1
answer35
viewsQ: Error in method: removerEditor
I’m a beginner in Java, and I’m having an error in an Edit class method to remove the publisher. The method to remove an author works perfectly with the same logic, already in the remove editor…
javaasked italo vinicius 59 -
0
votes1
answer2152
viewsQ: Call another class method
I am beginner in java, and I am creating a basic CRUD of a library, as I have many operations, I thought better to make a specialized class for each operation, which will call the methods of the…
javaasked italo vinicius 59 -
1
votes3
answers221
viewsQ: Error in "switch case"
I have a mistake in one of cases of switch, the mistake is this: I’m doing a CRUD from a library, so when you see the code, maybe you think something’s weird: I made some switch with only 1 option,…
-
0
votes3
answers126
viewsQ: Doubt in CRUD, I’m having trouble reading the keyboard data
I’m a beginner in Java. I am creating a CRUD from a library, but I have one question: when I create and install a new library in the main, how do I read the author’s data typed by the keyboard?…
javaasked italo vinicius 59 -
0
votes1
answer41
viewsQ: Error compiling code in eclipse
I have a small problem when compiling this code, after I compile the following error appears: Exception in thread "main" java.lang.Arrayindexoutofboundsexception: 10 I’ve searched elsewhere, and…
javaasked italo vinicius 59 -
2
votes2
answers1982
viewsQ: How to call a method within a System.out.println?
It has how to call a method within a System.out.println(" ");? Follows my code: package ExerciciosReferenciaDeObjetos; public class Aluno { private String nome; private int matricula; private float…
-
0
votes2
answers293
viewsQ: I am Inciante , and I have a problem with a question, on the part of instantiating the objects
Create a Client class, considering that it should have : Builder You must have the default constructor and a constructor that must only have the Client code as its parameter. Attributes • Client…
javaasked italo vinicius 59