Find Jobs
Hire Freelancers

Simple Java Application

$15-25 USD

Complété
Publié il y a plus de 10 ans

$15-25 USD

Payé lors de la livraison
This application only needs to function to give the desired results at the bottom so it doesn't have to be perfect for reuse. Java application will contain three classes: Dog, its subclass Puppy, and a standalone application class DogTest. The attributes of a Dog object are: weight, gender, and name. Class Puppy inherits these attributes (i.e. they are visible from this subclass) and has two extra class instance variables, mom and dad, both being instances of Dog. The puppy's default name is a concatenation of the names of its parents. Class Dog has a constructor with two parameters: gender and name. If the gender is male, it sets weight 12; for the female gender the default weight is 9. The default weight of a puppy is 1. the constructor in class Puppy does not allow same-sex parents must be able to reproduce these results Enter male dog's name: Rex Rex the dog has gender: m its weight is 12.0 Enter female dog's name: Alma Alma the dog has gender: f its weight is 9.0 Creating a puppy... Puppys' default name: Alma-Rex Puppys weight: 1.0 Puppys gender: unknown Enter puppy's name: Snoopy New puppys name: Snoopy Enter one more male dogs name: Romul Attempting to create a puppy with both male parents... Creating a puppy... Error: no same-sex parents! ===Testing Done===
N° de projet : 5007902

Concernant le projet

5 propositions
Projet à distance
Actif à il y a 11 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
Hi, I have BS(software engineering) degree I can do it in one hour time. Ready to start right away. Ahmar
$24 USD en 1 jour
3,6 (5 commentaires)
3,9
3,9
5 freelances proposent en moyenne $23 USD pour ce travail
Avatar de l'utilisateur
hello sir, i can do this project, I have done many home projects on java and this one seems to much easy, give me chance
$20 USD en 3 jours
5,0 (1 commentaire)
1,9
1,9
Avatar de l'utilisateur
HI Me software and Java expert and good experience in the Object oriented programing will provide you desire solution according to your problem thanks
$25 USD en 1 jour
4,2 (1 commentaire)
0,8
0,8
Avatar de l'utilisateur
Hello, I have been working in hcl past 1year in java environment.I will deliver ur assignment with in time regards, john
$20 USD en 3 jours
0,0 (0 commentaires)
0,0
0,0
Avatar de l'utilisateur
skilled java developer and serious bidder here. I can help you with this. I iwll provide you solid code and comprehensive documentation
$25 USD en 3 jours
0,0 (1 commentaire)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Tulsa, United States
5,0
7
Méthode de paiement vérifiée
Membre depuis mars 16, 2011

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.