Saturday, 16 August 2014

Java Interview Questions | SLA IT Group of Company Chennai



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




Thursday, 7 August 2014

Java Interview Question | SLA IT Group of Companies Chennai



1. What are native methods?
Native methods are methods that re written and implemented programming languages other than Java. 


 
2. Is it possible to make an Indefinite for loop?
Yes, for example for(;;); is an indefinite for loop where it'll never exit the loop.



 
3. What is modulo operator (%) in Java?
Modulo operator is used for finding the remainder value of an arithmetic division operation.




  
4. What is use of break and continue statement?
break statement - It exists the statement block or looping statement block.

continue statement - It send the control to the beginning of the loop (Using continue statement we can iterate through if statement).



 
5. How the system resources are accessed in Java?

The class 'System' consists of methods and members to access and make use of system resources. 
 





To receive job updates and placement tweets from SLA, Kindly like our official facebook page"www.facebook.com/SLAjobs"


SCJP - Comprehensive Java Training Course in Chennai


World class training on Java application development technology is offered at SLA IT Group of Companies in Chennai. The course is a corporate training and placement course with unlimited interview schedules to top leading IT companies.





  
 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




 

Saturday, 2 August 2014

Latest Java Interview Questions | SLA IT Group of Companies Chennai



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




 

Java Interview Questions | SLA Jobs in Chennai



1. Define transient variable in Java.

Transient variable is defined as a variable in java that may not be serialized. 





 
2. How growable array of objects are implemented in java?

In java, the Vector class has the methods and objects to implement the growable array of objects.




 
3. Define keyword.

    Keyword is a pre-defined terms that are used for identifiy the pre-defined data-types, classes, methods and variables in java.




  
4. The sizeof is a keyword in java. Yes (or) No.

No, the sizeof is not a keyword, It acts as an operator in java.


To receive job updates and placement tweets from SLA, Kindly like our official facebook page"www.facebook.com/SLAjobs"





SCJP - SLA Certified Java Professional


        Avail best training on java software development by the expert employment training company, SLA Jobs. By placing more than sixty five thousand students in top leading IT companies, SLA Jobs has excellent reputation and knowledge in this field. SLA jobs have recorded 100% placement achievement till date. The training includes coaching on technical skills, aptitude skills, interview skills, attitude skills, soft skills and internship training.





  
 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