Write a program that inputs a Java source code file and outputs a copy of that file with Javakeyboards surrounded with HTML tags for bold type. For example this input:
public class JavaSource
{
public static void main ( String[] args )
{
if ( args.length == 3 )
new BigObject();
else
System.out.println("Too few arguments.");
}
}
In a browser the code will look like this:
[b]public[/b] [b]class[/b] JavaSource{
[b]public[/b] [b]static[/b] [b]void[/b] main ( String[] args ){
[b]if[/b] ( args.length == 3 )[b]new[/b] BigObject();Binary-Auditing.com, Binary Auditing™ and the Binary Auditor™
14
[b]else[/b]System.out.println("Too few arguments.");
}
}
1
Expert's answer
2012-11-08T09:15:18-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Comments
Leave a comment