واجب الجافا cpcs 203
لو سمحتوا يا بنات
الي فاهمة فكرة البرنامج المطلوبة تشرح لي هنا
مو شرط كود بس ع الأقل اش المطلوب وكيف ممكن مفاتيح الحل ^^"
الي مو عندها السؤال هذا هو
Create a class called Employee that includes three instance variables
First name, type string
Last name, type string
Monthly salary, type double
Provide a constructor that initializes the three instance variables.
Provide a set and get method for each instance variable. If the monthly salary is not positive, do not set its value.
Write a test application named EmployeeTest that demonstrates class Employee’s capabilities. Create two Employee objects each Employee’s yearly salary. Then give each Employee a 10% raise and display each Employee’s yearly salary again.

واعبد ربك حتى يأتيك اليقين
|
|