+ 6

Plus anyone tell me what is the error in this java code

this code is used to print the greatest palindrome which forms from the product of two 3 digits no. https://code.sololearn.com/cKOrz0vQ01cx/?ref=app

19th Oct 2017, 7:31 AM
Vaibhav Singh Sikarwar
Vaibhav Singh Sikarwar - avatar
3 Answers
+ 11
The pallindrome method should be outside the main method. It also needs to be static
19th Oct 2017, 7:35 AM
qwerty
qwerty - avatar
+ 8
This should fix all the errors. https://code.sololearn.com/cL4Z0tw6NSc9/?ref=app
19th Oct 2017, 7:42 AM
qwerty
qwerty - avatar
+ 6
Yes bro!!110000 fixed it.
19th Oct 2017, 7:37 AM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar