oper = keyboard.nextLine();
is not right because .nextLine
skip the next line of code so the thing you put oper would be empty. Try: oper = keyboard.next();
For the if statement try:
if(oper.charAt(0)=='+'){
//the functions and whatever else you need
};