2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
9th May 2016, 11:21 AM
Super Moderator
 
Join Date: Apr 2013
Re: HCL Java Interview Questions

Hey buddy below I am giving you the Java interview questions in HCL you can have a look


What are Checked and UnChecked Exception?

Can I import same package/class twice? Will the JVM load the package twice at runtime?

Do I need to import java.lang package any time? Why ?

Can I have multiple main methods in the same class?

Can an application have multiple classes having main method?

What environment variables do I need to set on my machine in order to be able to run
Java programs?

How can one prove that the array is not null but empty using one line of code?

If I do not provide any arguments on the command line, then the String array of Main
method will be empty or null?

What is the first argument of the String array in main method?

What if I do not provide the String array as the argument to the method?

What if I write static public void instead of public static void?

What if the static modifier is removed from the signature of the main method?

What if the main method is declared as private?

What is final?

What is static in java?

What is an abstract class?

What is an Iterator?

What is the difference between a constructor and a method?

Difference between Vector and ArrayList?

What is HashMap and Map?

What are pass by reference and passby value?

Explain different way of using thread?

Describe synchronization in respect to multithreading.

What is the purpose of garbage collection in Java, and when is it used?

What is the difference between an Interface and an Abstract class?


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4