Question: 1) Write a Java program to create a class Employee with the fields Employee-name, Employee-Number, Basic Salary, HRA, DA and Gross Salary. Attributes : Employee-name.
1) Write a Java program to create a class "Employee" with the fields "Employee-name, Employee-Number, Basic Salary, HRA, DA and Gross Salary". Attributes : Employee-name. Employee-Number, Basic Salary, HRA. DA and Gross Salary Gross Salary Basic Salary + HRA+DA Identify some objects in your classroom and write the attributes and methods 2) Write your answer : True or False A) The java programs can run without compiling them. [T/F) B) The classes built in the java library contain many packages. [T/F]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
