mardi 13 octobre 2015

Can we programmatically check that is our variable name in standard form or not.?

Example

class MyClass {

    String name;
    String NAme;
    public static void main(String args[]) {

    }
}

Output should be:

name is in standard form
NAme is not in standard form





Aucun commentaire:

Enregistrer un commentaire