+ 1
In my this code it show that it is too large number I use long rather it show error! So why it show error???
2 Réponses
+ 3
@Harsh Agrawal
When you're using a long literal (such as in your object's input method), you need to put an L at the end to designate that it's a long literal. 
CHANGE:
ob.input(5689,7000695791,15,"harsh");
TO:
ob.input(5689,7000695791L,15,"harsh");
^As you can see, I put an L at the end of 7000695791 to correct the issue.
::::OUTPUT:::::
bike no	phone no	name	no of days	charge
5689	7000695791	harsh	15	10500
+ 1
okkkk thnxxxx Fata1 Err0r



