Computer Science, asked by sarkarsid, 8 months ago

Observe the code:
public class Employee {
String name;
static int employeeCount;
// Line 1
Which of the following code can be included in Line 1?
Select one or more:

a)public void displayO{
System.out.println("Employee count "+employeeCount);
}
b.public void displayO{
System.out.println("Employee Name"+name);
}
c.public static void display(){
System.out.println("Employee count "+employeeCount);
}
d.public static void display() {
System.out.println("Employee Name+name);
}​

Answers

Answered by hananafathima75
2

Answer:

i think the answer is option c

Similar questions