Find Jobs
Hire Freelancers

assessmentEngine Class

$30-250 USD

En curso
Publicado hace casi 9 años

$30-250 USD

Pagado a la entrega
Create a java class with the below requirements, it is part of a larger project and the code will be modified later. It will be run on a linux machine running java 8. This involves file paths, keep in mind you need to use the ‘/’ instead of ‘\’ in file paths. • 1 class called assessmentEngine • Constructor will have these parameters: o String classFolder – contains a complete path to a folder o String sourceFolder - contains a complete path to a folder o String errorFolder - contains a complete path to a folder o Int ID – an identifier that will be used later • Class will contain at least these public functions o void compile(String cn) – Will compile the source file with the name of cn stored the sourceFolder path. The corresponding .class file will be put into the classFolder o void compileAll() - Same as compile(String cn) except it will iterate through all source files in sourceFolder o Note: all compilation errors are to be stored in the errorFolder in a text file called [login to view URL] o Class run(String cn) – Will create an instance of the class file named [login to view URL] and return its class object o Class getBest() – This function will create an instance for each individual .class file in the classFolder. After an instance is created, use reflections to check the value of one its global variables named ‘double rsc’. Iterate through all instances, find which one has the largest rsc variable, then return that class object. o Any exceptions that occur during the creation of the compiled class (The target class has a divide by 0 for example) are to be stored in the errorFolder in a text file called [login to view URL] • Keep all opening and closing curley brackets on their own line • Comment code effectively (Nothing crazy, just so others know whats happening in your code)
ID del proyecto: 7407345

Información sobre el proyecto

17 propuestas
Proyecto remoto
Activo hace 9 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos

Sobre este cliente

Bandera de UNITED STATES
Davison, United States
5,0
3
Miembro desde ago 1, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.