class ALU {

	public String fullAdder (char x, char y, char c) {
		StringBuilder builder = new StringBuilder();
		
		char carryResult = charOp(booleanOr, 
				charOp(booleanAnd, x, y),
				charOp(booleanAnd, x, c),
				charOp(booleanAnd, y, c));
		
		char sum = charOp(booleanXOR, x,y,c);
		
		builder.append(carryResult).append(sum);
		
		return builder.toString();
	}

}