generally constants donot hav units, then how is G- gravitational constant having uni? (6.67 × 10−11 Nm2 kg−2.)
The units of G are those needed to balance the units of measurements in gravitational equations by Newton. It is denoted by letter G, is an empirical physical constant involved in the calculation(s) of gravitational force between two bodies. G is a universal gravitational constant but at the other hand its more or less a physical quantity ( like planks constant h, speed of light c and many others) which means it has the same value through the universe under any circumstances its significance is basically of being a constant of proportionality so it has units unlike other scalar constants.