subject

Write a java program with the following instruction:- class name: prime, instance variable: int n. Member methods:- prime(): default constructor to initialize n
void input(int x): to assign n with x
void display(): to check whether the number is prime or not

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
What would be the address of the cell, which is at the intersection of the second row and the third column in a worksheet?
Answers: 1
question
Computers and Technology, 24.06.2019 23:40
Which slide should you change so it reflects om all sides of your presentation
Answers: 1
question
Computers and Technology, 25.06.2019 06:30
How can u permanently delete a picture from your camera ?
Answers: 1
You know the right answer?
Write a java program with the following instruction:- class name: prime, instance variable: int n. M...
Questions
question
Mathematics, 25.06.2020 06:01
question
Computers and Technology, 25.06.2020 06:01
question
Business, 25.06.2020 06:01
question
Mathematics, 25.06.2020 06:01
question
Mathematics, 25.06.2020 06:01
question
Mathematics, 25.06.2020 06:01
question
Mathematics, 25.06.2020 06:01
Questions on the website: 13722359