You are on page 1of 2

UNIT 02

Q] thread :- Threads allows a program to operate more efficiently by doing


multiple things at the same time.

Q] multi threading :- is a process of executing two or more threads


simultaneously .

Q] synchronization:- synchronization in Java is the capability to control the


access of multiple threads to any shared resource.

Q] BYTE CODE:- Byte Code can be defined as an intermediate code generated


by the compiler after the compilation of source code (JAVA Program)

UNIT 03
Q] collection of classes :- It inherits Object class. 

Q] iterator :- An Iterator is an object that can be used to loop through


collections, like ArrayList and HashSet. ..

Q] legacy classes:-

1. HashTable
2. Stack
3. Dictionary
4. Properties
5. Vector

Q]  map interface:- mapping of a key with a specific value. A Java map


stores these key-value pairs in a map.

Q] srting tokenizer:- StringTokenizer class in Java is used to break a string


into tokens

Q]Serialization :-which conerts object into byte stream

You might also like