Click here to Skip to main content
14,459,366 members
Rate this:
Please Sign up or sign in to vote.
See more:
import android.app.Activity;
import java.util.Scanner;
import java.lang.Boolean;

protected class purchase {

private void int validate=invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;

		boolean isvalidated;

			void bool(){

				invokevalidate(false);

				exit();
			}

		private void invokevalidate(boolean b) {
			
		}
	}
Error
error: <identifier> expected

private void int
validate=invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;
            ^
error: '(' expected

private void int validate=invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;
             ^
error: <identifier> expected

private void int validate=invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;
                         ^
3 errors


What I have tried:

need help with this ... I changed the data type that didn't work ...
Posted
Updated 27-Jun-19 18:05pm
v4

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

What are you trying to do with this line?
private void int validate=invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;
If you want to declare them as variables, this is the correct way
private int validate,invokemeta_BillingManager,invoke_selforderId,invoke_selflinkedPurchasedToken;
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100