Tags:JAVA Questions | 5 views
hai……
plz… tell me some miniproject topics in java.we are planning to do it in 30 days.
Tags:JAVA Questions | 6 views
I have a java question regarding get/set and overloading constructors:
The problem is my calculations are not happening. Can someone tell me what needs to be done to get the calculation to work?
Thanks in advance …. Samm
The output is:
After attempting to set to invalid Values (0 & 10) :
Area = 01×10=00
Perimeter = 2(01+10)=00
After attempting to [...]
Tags:JAVA Questions | 4 views
-The Rectangle class) Design a class named Rectangle to represent a rectangle. The class contains:
1. Two double data fields named width and height that specify the width and height of the rectangle. The default values are 1 for both width and height.
2. A string data field named color that specifies the color of a [...]
Tags:JAVA Questions | 6 views
- (The Fan class) Design a class named Fan to represent a fan. The class contains:
1. Three constants named SLOW, MEDIUM, and FAST with values 1, 2, and 3 to denote the fan speed.
2. An int data field named speed that specifies the speed of the fan (default SLOW).
3. A boolean data field named [...]