2678. Number of Senior Citizens 💻 💻|| 100% easy🔥🔥 || JAVA code...
Code\n\nclass Solution {\n    public int countSeniors(String[] details) {\n        int count = 0;\n\n        for(int i=0; i<details.length; i++){\n            S
# Code\n```\nclass Solution {\n    public int countSeniors(String[] details) {\n        int count = 0;\n\n        for(int i=0; i<details.length; i++){\n            String d = details[i].substring(11,13);\n            int s = Integer.parseInt(d);\n            if(s>60){\n                count++;\n            }\n        }\n        return count;\n        \n    }\n}\n```
['Java']