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 00:20
The pyraminx is a rubik's cube-type toy in the shape of a tetrahedron (not a pyramid). the pyraminx shown below has edges 15\,\text{cm}15cm15, space, c, m long and vertical height h=12.2\,\text{cm}h=12.2cmh, equals, 12, point, 2, space, c, m. the triangle drawn with dashed lines is a right triangle. what is the distance rrr? round your answer to the nearest tenth.
Answers: 1
question
Computers and Technology, 22.06.2019 03:20
Which of these is a benefit of social networking? oa. hiding your true identity from friendsob. avoiding talking to people in personoc. spending time with friends instead of studyingod. connecting with new people
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
You know the right answer?
Write a java program with the following instruction:- class name: prime, instance variable: int n. M...
Questions
question
Mathematics, 16.04.2020 21:59
question
Arts, 16.04.2020 21:59
question
Mathematics, 16.04.2020 22:00
question
Mathematics, 16.04.2020 22:00
Questions on the website: 13722362