Cable bolting and rock/rebar bolting are the two main reinforcement techniques used in underground coal mines to maintain the stability of openings. Due to the structural features of cable strands, cables and solid bolts behave differently in reinforcing rock strata. Since the generation of a cable model is different in a numerical program, and especially impossible in a 2D program, some researchers tend to replace cable bolts with rebar bolts in numerical models, which is still pretty suspicious. To compare their performance differences when subjected in tension and/or in shear, numerical models of cable and rebar bolt were built and analysed using Flac3D program. The generated models of cables and rebar bolts were assigned identical geometrical dimensions and basic mechanical properties to ensure comparability. Attention was mainly given to the strength and stiffness of cables and rebar bolts both in tension and in shear. Conclusions are drawn from these models, which can be a reference for other studies in this area.