我正在尝试手动使用蓝牙协议栈(在关闭蓝牙协议栈之后)。detectStack()BlueCoveImpl.instance().getBluetoothStack(); Exception in thread "main" java.lang.Error: Illegal use of the JSR-82 API
现在,如果我的栈一开始是空的,它会给我一个空的大括号,如下所示。[01/10/17 12:17:37:116 IST] main Example2 WARN (Example2.java:52) 10 is the number []
01/ 10 /17 12:17:37:116 IST main Example2 WARN (Example2.java:52) 10是数
这里的错误部分是这个部分: 栈s=新栈(20); 每当我运行它时,它的输出是这样的: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 4 at com.stack.Test2.prefixToPostfix(Test2.java</e