Hello,
Scanner not working well when i Run my java program as batch.
How can I remove from the String the new line (\n)?
For example:
String example = "Hello World!\n";
Type: Posts; User: froland20
Hello,
Scanner not working well when i Run my java program as batch.
How can I remove from the String the new line (\n)?
For example:
String example = "Hello World!\n";
This is my toString() method:
@Override
public String toString() {
return "Név: " + marka + " | Rendszám: " + rendszam + " | Hengerűrtartalom: " + kobcenti + " | Évszám: " + evszam...
Here is the full output
\------------------------/
MEGACAR BT
\------------------------/
1. Regisztáció
2. Bejelentkezés
Right, done.
--- Update ---
I hope It's batch file problem, not java.
Hello,
I have got a problem with running the java program with batch file.
The program works well when I run with NetBeans or Eclipse.
When I want to add a property to List class with...