Java Big Ans-1
Java Big Ans-1
import java.util.Scanner;
class Employee {
int empId;
String name;
String department;
double salary;
scanner.close();
}
}
Rearrange array:
import java.util.Arrays;
}
Two marks:
1. Define Object-Oriented Programming (OOP).
The main method serves as the entry point of any Java application. It
is executed when the program starts, and it contains the logic to
launch the program. The signature of the main method is typically
public static void main(String[] args).
Import java.util.Scanner;