Write a bluej program
1 -3 5 -7 9
Please help it's urgent
Answers
Answered by
0
public class Player
{
// Fields for tracking Class, health and name
private String name;
private String playerClass;
private int health;
// Array of classes
String[] classes = {
"Warrior", "Mage", "Rogue",
"Hunter", "Druid", "Priest",
"Paladin", "Monk", "Warlock"
};
//Available Classes are "Warrior", "Mage", "Rogue", "Hunter", "Druid", "Priest", "Paladin", "Monk" and "Warlock"
// ##Constructor##
public Player(String setName, String setClass)
{....
}
edwinjarvis03:
Write with public
Answered by
0
class factors
{
public static void main(String args[])
{
for(int a=1;a<=20;a++)
{
if(20%a==0)
System.out.println(a);
}
}
Similar questions