1. What is synchronization in multithreading?
When the multiple threads use the same shared resources simultaneously, there must be a synchronization technique to avoid deadlock.
2. Name any four sub classes that support painting tools.
• Applet
• Panel
• Frame
• Canvas
3. What are wrapper classes?
The classes that have constructors and methods to convert primitive data types into objects are called wrapper classes. They also contain methods and members to perform type operations.
• Example of wrapper classes
• Integer
• Float
• Double
4. How to invoke the constructor of the same class?
The method this() is used for invoking the constructor of the same class.
5. Suggest a way to effectively organize and control the objects in a java application.
Using interfaces will be an effective technique to organize the objects in your java application.
To receive job updates and placement tweets from SLA, Kindly like our official facebook page"www.facebook.com/SLAjobs"
SCJP (SLA Certified Java Professional) - SLA IT Group of Company
Comprehensive training cum placement course on java software development is offered by SLA IT Group of Company in Chennai. The training course includes internship training on live and real time IT project.
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

No comments:
Post a Comment