Jump to content

Calling Happyness, Sitara, Barfi, Ronit And All


Recommended Posts

Posted

nuvvu vachinava...5A8JbzS.jpg... rounds ayinaya...Brahmi-1.gif


Enti ma ayina mida chadilu cheptunav..chepata chepta
Posted

Enti ma ayina mida chadilu cheptunav..chepata chepta

Mee ayina emanna Bangarama..5A8JbzS.jpg

Posted
Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β Lab 3 Final Exam Β 
1] Use the MoveMessageDemo program shown in the class as an example. Create a GUI Β Application called MoveCircle.java that does the followings: Β Β 
β€’ Display a filled circle of radius 50 in the panel Β β€’ The user can press the left-button of the mouse and drag the circle around inside the panel Β β€’ The program looks something like this Β  Β  Β 
2] Β Create a class named Room that has the following properties (variables): roomsType: string roomsSize: double NumberOfRooms : int Β 
Include appropriate constructors, getters and setters and appropriate print methods if required . Β Β 
Create a class named House that has the following properties(variables): HouseSqFoot Β HouseRate Β  Β  Β marketPrice Β  RoomProperties Β  Β 
Include appropriate constructors, getters and setters and appropriate print methods if required . Β Β 
Output : Print the properties of the house. (Object composition should be achieved) Β 
3] Β  A ] Declare a CommissionEmployee Interface that represents an employee paid a percentage of gross sales. Declare a public Β static final Β variables a first name, last name, social security number, commission rate and gross (i.e., total) sales amount. Β Β 
Add a method earning that calculates and returns the earnings . Β Β 
B] Declare class BasePlusCommissionEmployee, which implements Β interface Β CommissionEmployee and has an instance variable baseSalaryPerWeek. Β 
Add set and get methods for baseSalaryPerWeek . Override earning methos with the formula as follows: Β 
baseSalaryPerWeek + ( commissionRate * grossSales ); Β 
Override toString method to display all information first name, last name, social security number, commission rate and gross (i.e., total) sales amount and also earnings. Β 
Write a test code to test them. Β 
Output : Β First_name=John, Last_name=Mathew, Ssn=988777, Commisionrate=4.5, Totalsales=78.0 , earnings=354.0,salaryperweek=3.0 Β 
Β 
Posted

Oley Balfi .. Ida Quotes teesukupoyi Exam lo raasev Confusion lo..g009_idi_amin_laughing_soldier.gif

Guest
This topic is now closed to further replies.
×
×
  • Create New...