4. Add a simple java code that displays the sum of integer from 10-100 to the java code written in question number 3. The program execution jumps if the integer number is 50 and must be terminated if the sum of the number is greater than 100

Sure, here is the modified Java code:

```java
public class Main {
public static void main(String[] args) {
int sum = 0;

for (int i = 10; i <= 100; i++) {
if (i == 50) {
continue;
}

sum += i;

if (sum > 100) {
break;
}
}

System.out.println("The sum of integers from 10 to 100 (excluding 50) is: " + sum);
}
}
```

This code displays the sum of integers from 10 to 100, excluding the number 50. If the sum exceeds 100, the program terminates.