Password Change & Project Properties.
Posted: Tue Apr 17, 2018 5:19 am
Hello,
first, when I tried to change my password, it said that there was an error which I should report onto forums. My username is bcaintermstudent.
Second, when I try to change the project properties to change the main class name and click Save, the whole window disappears and when I go back to properties, nothing is changed.
This is my code for reference:
Thanks you!
first, when I tried to change my password, it said that there was an error which I should report onto forums. My username is bcaintermstudent.
Second, when I try to change the project properties to change the main class name and click Save, the whole window disappears and when I go back to properties, nothing is changed.
This is my code for reference:
Code: Select all
//java//
// creates a class of fruits//
class Fruit{
String color; //instance variables//
int weight;
boolean seeds;
}
public class Fruitmaker{
public static void main(String[] args){ //file name//
Fruit lemon = new Fruit(); //creating object in class//
//giving value to instance variables
lemon.color = "yellow";
lemon.weight = 5;
lemon.seeds = true;
System.out.println("We have created a " + lemon.color + lemon.weight + " gram " + "fruit");
}
}