As you have copied sir code where it has error, here it is given as *public class putsport( )* which is a method not class so replace it with *public void putsport( )*. Hope it helps.
Java takes every decimal value in Double, in order to define float we use 'f' or 'F' after the constant value, if we don't do this Java gives an error of ' cannot convert a double into float'. For example, float a = 5.55; (this will throw an error) float a = 5.55f; OR float a = 5.55F; (this will execute without any error) (let me know you didn't get it) Keep learning.
most underateed channel
Congratulations sir u have crossed 25k with god's blessings u will soon cross 25m
Thanks a lot Gurwindar!
thanku so much
it helped alot
Most welcome!
Mere college aajoa please paise jaise teacher ki bht zarurat hai 😅😅
😊👍
Thank you sir 😊
Most welcome!
👍
😊
This example was complicated 🥲
You are right
Sir mere java me template ke program run ni ho rhe h
Sir agar board py khud samjaty to samaj aa jati ap ki vedios main isi waja sy dykhta hun bas ab nai samaj i ok
Sir (class result extends test implements sports )
Sir "result"error show karraha hai plz tell me how to solve
As you have copied sir code where it has error, here it is given as *public class putsport( )* which is a method not class so replace it with *public void putsport( )*.
Hope it helps.
Sir what is the meaning of (F) in Sprotmarks = 6 . 0 F ?????
Java takes every decimal value in Double, in order to define float we use 'f' or 'F' after the constant value, if we don't do this Java gives an error of ' cannot convert a double into float'. For example, float a = 5.55; (this will throw an error)
float a = 5.55f; OR float a = 5.55F; (this will execute without any error)
(let me know you didn't get it)
Keep learning.
❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤
😊
Sir it's too hard , difficult to understand 🥺
Hello