subject

Cau 1: Viết lớp SoPhuc gồm:
-Thuộc tính:
• Phần thực kiểu double;
• Phần ảo kiểu double.
- Phương thức:
• hàm tạo mặc định, hàm tạo 2 tham số;
• Đầy đủ setter, getter cho từng biến;
• hàm print() in SoPhuc như xâu có định dạng a + bi, trong đó a là phần thực, b là ảo
-Viết hàm main():
• Tạo ra 2 đối tượng SoPhuc
• Sử dụng các phương thức của lớp để nhập thông tin cho 2 đối tượng
• Sử dụng phương thức print() để in thông tin 2 đối tượng đã được tạo

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:30
Which tab should you open to find the option for adding a header?
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Write the html code to make a link out of the text “all about puppies”. it should link to a pdf called “puppies.pdf” inside the “documents” folder. the pdf should open in a new window.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
Which statistical function in a spreadsheet you to see how far each number varies, on average, from the average value of the list?
Answers: 2
You know the right answer?
Cau 1: Viết lớp SoPhuc gồm:
-Thuộc tính:
• Phần thực kiểu double;
• Phần ảo kiểu...
Questions
question
Mathematics, 29.01.2021 01:10
question
Mathematics, 29.01.2021 01:10
question
Mathematics, 29.01.2021 01:10
question
Chemistry, 29.01.2021 01:10
question
Chemistry, 29.01.2021 01:10
question
Mathematics, 29.01.2021 01:10
Questions on the website: 13722360