Totel:93 Click: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Visibility is basically a method which is use for the accessibility ,and Its instance variables to other classes and packages.
When we are using or implementing a class, We determine our methods and instance variables, Its basically a visibility keywords as :
Variable access is basically a describe to the ability of one class to read or alter if it is not final, a variable in another class.
The transient keyword is basically use for the indicating the object stream data , Its a type of variable,there is not be required to know anything about transient for the exam, other than that it is a keyword that can be applied only to variables.
time slicing is basically a technique ,Its use for the thread execution, I this scheme for scheduling thread execution.
Thread is basically defined as :
- Its an independent line of execution.
- Its a type of mini program .
- Multiple line of execution method is also used in multiple threads.
- Its executes instructions, any variables that are declares within the method, Its also called automatic variables.
- Its stored in a private area of memory, which area is protected area and other threads cannot access. This allows any other thread to execute the same method on the same object at the same time without having its automatic variables unexpectedly modified.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19