fetch String using NamedParameterJdbcTemplate?

I would like to fetch a single String value using NamedParameterJdbcTemplate The following code work fine with JdbcTemplate but not with NamedParameterJdbcTemplate

    String studentName = "FooBar";
    NamedParameterJdbcTemplate jdbcTemplate = 
                    new NamedParameterJdbcTemplate(implSchemaDataSource);
        String fetchStudentName = "select firstName from students where studentName=:studentName";

        String streetName = (String) jdbcTemplate.queryForObject(
                fetchStudentName , new Object[] { studentName }, String.class);

But with NamedParameterJdbcTemplate it is expecting rowMapper instead of String.class

How to fetch a single String value using NamedParameterJdbcTemplate?