Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!

adil diab

Greenhorn
+ Follow
since Apr 21, 2015
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by adil diab

Hello expert Java I want to implement the following simple algorithm with java. I have an input which is to be multiplied by one and two.

Input: 123456 Multiplication: (1*1)+(2*2)+(1*3)+(2*4)+(1*5)+(2*6)=result



thanks in Advance
6 years ago
I need your help, please?

I have an example wich is working very fine. with this example (see code below) I can detect the encoding of file using universaldetector framework from mozilla.

But I want that this example detect the encoding of input and not of the file for Example using class SCANNER? how can i modify the code below to detect the encoding of input instead of file?

Thanks in advance...
7 years ago