DUET PG Score Card 2021
NHAI Recruitment 2021
Bihar Board 12th Dummy Admit Card 2022
RBI Assistant Notification 2021
Jee Advanced 2021 Result
NIACL Assistant Recruitment 2021
SBI PO Online Form 2021

Incompatible Types: String cannot be converted to float

Error in q10817/TotalAndAvgMarks.java, Line No : 1
float marks1 = (float)(args[1]);
^
incompatible types: String cannot be converted to float
float marks1 = Float.parseFloat(args[1]);

Leave a Comment