Find Jobs
Hire Freelancers

assessmentEngine Class

$30-250 USD

进行中
已发布大约 9 年前

$30-250 USD

货到付款
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: 7407345

关于此项目

17提案
远程项目
活跃9 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作

关于客户

UNITED STATES的国旗
Davison, United States
5.0
3
会员自8月 1, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。