⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.java

📁 a Java program that reads a file containing instructions written in self-defined file (TPL in this c
💻 JAVA
字号:
class index
{
	public static void main(String args[])
	{
		String line="an test is";
		int x=line.indexOf(" ");
		String f=line.substring(0,x);
		//String firststr=newline.substring(0,x);
	
		int y=line.lastIndexOf(" ");
			String s=line.substring((x+1),line.length());
		System.out.println(x);
		System.out.print("**"+f);
		
		System.out.println(y);
		System.out.print("**"+s);
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -