Java Interview Questions @ Sapient

Company Name :  Sapient

Interview Questions:

  • Tell me about your self ?
  • What are the types of class loaders in Java.
  • write your own ArrayList in Java ?
  • How to read and write image from a file ?
  • What is difference between static and init block in java.
  • How ConcurrentMap works?
  • Can a static block throw exception?
  • What is difference between iterator access and index access?
  • Why character array is better than string for storing password in java?
  • What is the difference between Serializable and Externalizable interfaces
  • Which Interface is used to make duplicate of Objects ? Ans: cloneable
  • What are some advantages and disadvantages of Java Sockets?
  • When can an object reference be cast to an interface reference?
  • How does Java allocate stack and heap memory ?
  • What is memory leak in java ?
  • Can we throw exception from finally block in JAVA ?
  • How does Java handle integer overflows and underflows?
  • Tell me  difference between Stringbuffer and stringbuilder ?
  • What is casting?
  • what is new in JSP?
  • What do you mean by Java Reflection ?
  • Why does the InputStreamReader class has a read() ?
  • Describe a problem you faced and how you dealt with it
Attended Any Interviews? Please send us Questions to mailus@javatechinfo.com

Search:

Recent Posts