this really is my code however it givas a mistake can you help me(in mySQL I've got a table which has VARCHAR title ,VARCHAR address and VARCHAR telephone and TINYINT age and BIGINT charge)

I wish to place a title and address and telephone and age with calling this process .however it can give a mistake for line insertARow("Adam Smit","21 First Avenue, Fairlyland, 87654","123456789",35);
ERROR:create an InsertARow method(String,String,String,Int)

the course:

    insertARow("Adam Smit","21 First Avenue, Fairlyland, 87654","123456789",35);


}

private static void insertARow(String name,String address,String telephone,BigInt age) {

}

A [cde] in MySQL is really a 64 bit integer type, so that you can simply handle it as being a BIGINT (and/or long) value in Java, as lengthy when you are while using Long variant.

If you wish to support an SIGNED, then you'll have to handle the values as [cde] in Java.

Because you do not show any code that really connects using the Database (JDBC) I can not let you know what you are doing wrong.

Your code is trying to make use of BigInt like a Java type, that won't compile. As Joachim mentions you should utilize a UNSINGNED BIGINT or java.math.BigInteger in Java.