Ask your teacher!
Tri state disconnects the outputs of a logic device so that a signal buss can be used by many devices. Only one device has its tristate output enabled at a time.
In last year i uses many transistor, whose output was shorted to same but the input signal were from different source ( output was 7 segment displays and input was counters this was for my EVM ), when i need output i give saturate the transistor, it was very hard to use so many transistors.
This kind of never-ending thread where basic questions are posed one after the other are just a waste of time / bandwith and are not worth the time spent in reading them after a future search.
All the time worth just typing every question is much better spent in using Google or one of the so many tutorials available through the Web.
Ritesh, my honest questions:
Are you going to keep asking like this for how long?
What you will do if one day find yourself with no access to Internet?
Do you think that you are learning something this way?
I am afraid that he is kind of a troll making the contributors to waste time / patience.