Find Jobs
Hire Freelancers

assessmentEngine Class

$30-250 USD

Em Andamento
Publicado há aproximadamente 9 anos

$30-250 USD

Pago na 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 do Projeto: 7407345

Sobre o projeto

17 propostas
Projeto remoto
Ativo há 9 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos

Sobre o cliente

Bandeira do(a) UNITED STATES
Davison, United States
5,0
3
Membro desde ago. 1, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos 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)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.