Advance Java Interview Questions
Hello; I am here to describe some important Advance Java Interview Questions which is asked few days before in some top MNC Company.- Why use Servlet ?
- What is JSP ?
- What is Container in Servlet ?
- What are life cycle of Servlet ?
- What are life cycle of JSP ?
- What is JSP Tag ?
- What is the purpose of default constructor?
- Can a constructor be made final?
- What is static block?
- Define composition?
- What is function overloading?
- What is function overriding?
- Difference between Overloading and Overriding?
- What is final class?
- What is NullPointerException?
- What are the ways in which a thread can enter the waiting state?
- How does multi-threading take place on a computer with a single CPU?
- What invokes a thread's run() method?
- Does it matter in what order catch statements for FileNotFoundException and IOException are written?
- What is the difference between yielding and sleeping?
- Why Vector class is used?
- How many bits are used to represent Unicode, ASCII, UTF-16, and UTF-8 characters?
- What is the difference between a Window and a Frame?
- Which package has light weight components?
- What is the difference between the paint() and repaint() methods?
- What is the purpose of File class?
- What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
- Which class should you use to obtain design information about an object?
- What is the difference between static and non-static variables?
- What is Serialization and deserialization?
- What are use cases?
- What are uses of wrapper class ?
- Explain the use of sublass in a Java program?
- How to add menushortcut to menu item?
- Why deletion in LinkedList is fast than ArrayList?
- How do you decide when to use ArrayList and LinkedList?
- What is a Values Collection View ?
- What is dot operator?
- Why java have no pointer concept ?
- Where and how can you use a private constructor?
- What is type casting?
- Describe life cycle of thread?
- What is the difference between the >> and >>> operators?
- Which method of the Component class is used to set the position and size of a component?
- What is the range of the short type?
- What is the range of long data type in java ?
- What is the range of integer data type in java ?
- What is the immediate superclass of Menu?
- Does Java allow Default Arguments?
- Which number is denoted by leading zero in java?
- Which number is denoted by leading 0x or 0X in java?
- Break statement can be used as labels in Java?
- Where import statement is used in a Java program?
- Explain suspend() method under Thread class>
- Explain isAlive() method under Thread class?
- What is currentThread()?
- What is demon theread ?
- Explain life cycle of thread ?
- Difference between sleep() and suspend() ?
- Main uses of thread in java ?
No comments:
Post a Comment