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 05:00
Are special characters that allow you to search for multiple words at the same time.
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
The isometric projection camera technique provides an illusion of perspective by using things like parallax scrolling to create the illusion of 3d in a 2d game
Answers: 3
question
Computers and Technology, 23.06.2019 23:00
Computer programming is one type of what career
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
To add additional commands to the quick access toolbar, a user can navigate to the view. backstage status bar design file
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
Physics, 24.09.2019 14:20
question
Mathematics, 24.09.2019 14:20