1. What is important in multithreading?
While using multiple threads in the program simultaneously, the synchronization of threads is very important. Because of the fact that all the thread might require the same resource at some point, it is necessary to synchronize and prioritize the threads and its resource allocations.
2. Name the methods used for setting layout of the container.
setLayout() method is used to specify the layout of the container.
3. Can an Identifier name in java start with numeric values 0 to 9?
No, the identifier names should not start with numeric values rather they can be used after the first letter of the identifier.
4. What are the different modifiers available in Java?
The following are modifiers available in java
public
protected
private
static
final
abstract
5. What is the use of yield() method?
The yield() method is used for returning to the ready state after a task is invoked.
To receive job updates and placement tweets from SLA, Kindly like our official facebook page"www.facebook.com/SLAjobs"
SCJP - Exclusive training on Java Software Development
SLA Certified Java Professional (SCJP) is an exclusive corporate training and placement course offered by India's first private employment exchange, SLA Jobs. The course is designed by global experts and approved by the leading IT companies.
Contact Information:
Address – SLA Jobs KK Nagar
No 10, P.T. Rajan Salai, K.K. Nagar, Chennai – 600078
Phone: +91 44 42005050
Mobile: +91 9677012733
Address – SLA Jobs Anna Nagar
No. 13L, Second Floor, Indus Valley's Bhagwathi Palace, Chennai - 600102
