import java.io.*; public class OctaveBot{ static final int INTEGRATE = 0 , SUM = 1 , REST = 2 , DERIVATE = 3 , HELP = 4 , EXPRESSION = 5,LOVE = 6; private int type; private String message; OctaveBot(String msg , int type){ this.type = type; message = msg; } public String sendMsg(){ Runtime r = Runtime.getRuntime(); try { switch(type){ case HELP: return "\n==============================================================================\n"+ "=================================OCTAVE BOT===================================\n"+ "==============================================================================\n\n"+ " Hi, I'm OctaveBot. Here are the instructions you can use: \n\n"+ "