Question: urgent please.java 4. a. In the following code, the classes Ict and se are in different packages. If the question marks in [3] (a) are

![and se are in different packages. If the question marks in [3]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f38df2c82f2_61866f38df268f07.jpg)
urgent please.java
4. a. In the following code, the classes Ict and se are in different packages. If the question marks in [3] (a) are replaced by blanks, can class Cse be compiled? If the question marks are replaced by private, can class Cse be compiled? If the question marks are replaced by protected, can class Cse be compiled? 3 (a) package di; public class Ict { ? int c; ? void ro) { } } (6) package d2; public class Cse extends Ict { public void mi (String[] args) { System.out.println(c); r(); } } b. Why is the below code showing compilation error? class One { [2] b. Why is the below code showing compilation error? class One { void methodone() { public class Two { } c. Write a Java a program with a main thread and two user threads, thrdl and thrd2. i) Have thrdl use a Scanner to read integers from a String. There should be an ev even number of integers. ii) Thread thrdl first reads two integers and then initializes to integer fields, x and y that are shared with thrd2 Thread thrd2 adds each new pair of integers and prints them out
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
