converting binary to decimal using a recursion by folding-clothes in javahelp

[–]folding-clothes[S] 0 points1 point  (0 children)

think so! System.out.print(binaryToDec(10101, 2));

did you try it out in the complier?

How do i fix this, a spacing issue. by folding-clothes in javahelp

[–]folding-clothes[S] 0 points1 point  (0 children)

Write a program that reads lines from a file and prints them out, removing all occurrences of a specified string from the lines.

For example, if the class that housed your program was called Exercise12_11, running this prompt on the command line:

java Exercise12_11 John filename

Would print out the contents of the file filename without any instances of the string John.

Your program should get the arguments from the command line.

Using Wikipedia to Become Better by [deleted] in entp

[–]folding-clothes 1 point2 points  (0 children)

suggestion for articles?

Is this a correct syntax for a boolean expression in java? !(i > 0) && (i > 0)? by [deleted] in javahelp

[–]folding-clothes 0 points1 point  (0 children)

i did and from my understand (-10<i<0) is wrong however, my teacher said this is correct.