A stub is a short piece left after the rest is gone. We use this word for things like pencils, candles, or cigarettes that are all used but have a small part left.
He found a stub of a pencil on the floor.
There was a stub of a burnt-out candle.
A stub is the small part of a ticket that you keep as proof. It shows that you bought or used the ticket.
Keep the bus stub after you get on.
She gave me the ticket stub to keep.
A stub can mean the short, thick end left after you cut a tree down. It is often hard and stays in the ground.
The tree stump was just a small stub now.
He sat next to the stub of the big tree.
A stub in computing is a small piece of code that acts as a placeholder. It helps programmers test and build software before the real code is ready.
The programmer wrote a stub for the new function.
This stub shows where the code will go later.
A cheque stub is the section kept by the person who writes the cheque. It helps them remember the payment details.
Keep the cheque stub for your records.
The bank returned the cheque with the stub.
A pay stub shows money you earn and taxes taken out. It comes with your paycheck as proof of your salary.
I checked my pay stub for taxes.
Every month he gets a pay stub from work.
To stub means to hit a part of your body by accident, often your toe. It can also mean to stop a cigarette by pressing it hard on a surface.
He stubbed his toe on the door.
She stubbed the cigarette out on the floor.