frage zu Strings
- 
					
					
					
					
Hallo,
wenn ich:
String sTest; short d = 0x0435; sTest = new String().format("%04x",d);mache. Kommt immer die Warnung:
The static method format(String, Object...) from the type String should be accessed in a static way
Wie kann ich die format methode statisch aufrufen damit die Warnung weg ist?
MfG
 - 
					
					
					
					
Am besten, indem du kein neues Objekt erzeugst

sTest = String.format("%04x",d);
 - 
					
					
					
					
danke