Thursday, November 20, 2014

[OneStopGATE] Digest Number 1984

1 Message

Digest #1984

Message

Wed Nov 19, 2014 7:55 pm (PST) . Posted by:

"Megha" a.maheshi



|
|
| JAVA INTERVIEW QUESTIONS |
|
 
| | Download Free Interview Questions eBook of 500 Questions 

(If you do not have a Yahoo! account, you can get it by simply sending a blank email to CoolInterview-Subscribe@yahoogroups.com and confirm the verification email received. Once your email is confirmed, we will instantly send the download link to you.) |

|
| Java Interview Questions |
|
- What is internationalisation? How can you achieve in java? 
http://www.coolinterview.com/interview/5380/ 

 
- Why we can not override static method? 
http://www.coolinterview.com/interview/10778/ 

 
- What is the difference between instanceof and isInstance? 
http://www.coolinterview.com/interview/377/ 

 
- What is package? Define with example? 
http://www.coolinterview.com/interview/15284/ 

 
- What is the difference between an if statement and a switch statement? 
http://www.coolinterview.com/interview/474/ 

 
- What does the "abstract" keyword mean in front of a method? A class? 
http://www.coolinterview.com/interview/383/ 

 
- How will you pass values from HTML page to the Servlet? 
http://www.coolinterview.com/interview/770/ 

 
- Which Java operator is right associative? 
http://www.coolinterview.com/interview/1164/ 

 
- Explain working of Java Virtual Machine(JVM). 
http://www.coolinterview.com/interview/5652/ 

 
- How can we write our own arraylist without using collections? 
http://www.coolinterview.com/interview/5553/ 

 
- What is the difference between length and length() ? 
http://www.coolinterview.com/interview/15169/ 

 
- Is java a fully object oriented programming or not? if not why? 
http://www.coolinterview.com/interview/5666/ 

 
- Addition of two numbers using Bitwise operators. Reading An 2D array using single for loop 
http://www.coolinterview.com/interview/12560/ 

 
- Which class is extended by all other classes? 
http://www.coolinterview.com/interview/1107/ 

 
- What is the difference between List, Set and Map 
http://www.coolinterview.com/interview/5362/ 

 
- What is cohesion and coupling in java? 
http://www.coolinterview.com/interview/16138/ 

 
- Why java is not pure object oriented language? 
http://www.coolinterview.com/interview/12727/ 

 
- What is difference between & and && in java 
http://www.coolinterview.com/interview/10787/ 

 
- Can we serialize the static variable? 
http://www.coolinterview.com/interview/5527/ 

 

- How will you perform transaction using JDBC 
http://www.coolinterview.com/interview/5281/ 

 
- Meaning - Abstract classes, abstract methods 
http://www.coolinterview.com/interview/5655/ 

 
- Explain Garbage collection mechanism in Java 
http://www.coolinterview.com/interview/5644/ 

 
- What is Singleton class? 
http://www.coolinterview.com/interview/841/ 

 
- Given A = 1, B = 2, C = 3, D = 4 …… Z = 26, write a java standalone program to encode the word "TELEPHONE" into numbers. 
http://www.coolinterview.com/interview/13436/ 

 
- What is the default size of vector and StringBuffer? 
http://www.coolinterview.com/interview/5153/ 

 
- What is the difference between Java and J2EE? Is J2EE advanced version of Java? 
http://www.coolinterview.com/interview/15081/ 


 
- Access specifiers: "public", "protected", "private", nothing? 
http://www.coolinterview.com/interview/442/ 

 
- Explain RMI Architecture? 
http://www.coolinterview.com/interview/781/ 

 
- What is the difference between interface and abstract class ? 
http://www.coolinterview.com/interview/28279/ 

 
- What is Weak reference and Soft reference in java? 
http://www.coolinterview.com/interview/5483/ 

 
- can we declare multiple main() methods in multiple classes.ie can we have each main method in its class in our program? 
http://www.coolinterview.com/interview/5714/ 

 
- what is skeleton in java or J2EE?????? 
http://www.coolinterview.com/interview/11042/ 

 
- What are the disadvantages of using threads? 
http://www.coolinterview.com/interview/369/ 

 
- What are the main differences between jdk1.4 , jdk1.5 & jdk1.6? 
http://www.coolinterview.com/interview/15721/ 

 
- Have you ever used HashTable and Dictionary? 
http://www.coolinterview.com/interview/769/ 

 
- Can I execute or call one applet from another applet? If so then how??? Please Reply me... Thanks 
http://www.coolinterview.com/interview/12448/ 

 
- Can we override Thread's run() method? 
http://www.coolinterview.com/interview/15851/ 

 
- can the main() method be overloaded? or overrided? and what happens when we do so? 
http://www.coolinterview.com/interview/10781/ 

 
- What are the main differences between Java and C++? 
http://www.coolinterview.com/interview/459/ 

 
- What is the difference between the Font and FontMetrics classes? 
http://www.coolinterview.com/interview/579/ 

 
- Explain Java security model 
http://www.coolinterview.com/interview/5653/ 

 
- What is the difference between InputStream/Outputstream classes? 
http://www.coolinterview.com/interview/808/ 

 
- What is the disadvantage of threads? 
http://www.coolinterview.com/interview/10792/ 

 
- What is the difference between concat and append? 
http://www.coolinterview.com/interview/15168/ 

 
- What is the difference between exception and error? 
http://www.coolinterview.com/interview/819/ 


 
- How System.out.println() works? 
http://www.coolinterview.com/interview/10782/ 

 
- What is JDBC? Describe the steps needed to execute a SQL query using JDBC. 
http://www.coolinterview.com/interview/443/ 

 
- Explain Servlet and JSP life cycle 
http://www.coolinterview.com/interview/5700/ 

 
- How many different types of JDBC drivers are present? Discuss them. 
http://www.coolinterview.com/interview/447/ 

 
- Does java support Line by Line execution? 
http://www.coolinterview.com/interview/28835/ 

 
- Give example of : High severity & Low priority 
http://www.coolinterview.com/interview/5668/ 

 
- Why pointers are not used in java? 
http://www.coolinterview.com/interview/12857/ 

 
- Why ArrayList is faster than Vector? 
http://www.coolinterview.com/interview/5656/ 

 
- Why we use OOPS concepts, What is its advantage? 
http://www.coolinterview.com/interview/708/ 

 
- Why Java is case sensitive? 
http://www.coolinterview.com/interview/11126/ 

 
- What are the differences between JIT and HotSpot 
http://www.coolinterview.com/interview/5722/ 

 
- Difference: Java Beans, Servlets 
http://www.coolinterview.com/interview/5651/ 

 
- What is the difference between Comparable and Comparator 
http://www.coolinterview.com/interview/5360/ 

 
- can we write return statement in try catch or finally block. suposse we write return 0 in try catch or finally. can we do. 
http://www.coolinterview.com/interview/5499/ 

 
- Does Java have destructors? 
http://www.coolinterview.com/interview/384/ 

 
- How to create own Marker Interface with example 
http://www.coolinterview.com/interview/5560/ 

 
- Why do we call java until.* package as a framework. 
http://www.coolinterview.com/interview/10797/ 

 
- How Linkedlist can be implemeented in java with out using collection framework? 
http://www.coolinterview.com/interview/5208/ 

 
- Can a double value be cast to a byte? 
http://www.coolinterview.com/interview/605/ 

 
- What restrictions are placed on method overloading? 
http://www.coolinterview.com/interview/538/ 

 
- String class can be extendable? and why? 
http://www.coolinterview.com/interview/15171/ 

 
- Difference between Applet and JApplet 
http://www.coolinterview.com/interview/5241/ 

 
- What is the difference between Iterator and Enumeration? 
http://www.coolinterview.com/interview/814/ 

 
- What it the root class for all Java classes? 
http://www.coolinterview.com/interview/719/ 

 
- What is the differences between script language and programming language? 
http://www.coolinterview.com/interview/10798/ 

 
- What is the functionality stubs and skeletons? 
http://www.coolinterview.com/interview/727/ 

 
- How to make application thread-safe ? 
http://www.coolinterview.com/interview/463/  

 
- What is the purpose of the Runtime class? 
http://www.coolinterview.com/interview/1168/ 

 
- What are the main differences between jdk1.4 n jdk1.5? 
http://www.coolinterview.com/interview/13852/ 

 
- Why JAVA not support multiple inheritance? How can we pass address of an object?
http://www.coolinterview.com/interview/12824/ 

 
- Why there are some null interface in java. What does it mean. Give me some null interfaces in JAVA? 
http://www.coolinterview.com/interview/686/ 

 
- What is meant by cookies? Explain. 
http://www.coolinterview.com/interview/673/ 

 
- What is the difference between attribute and parameter ? 
http://www.coolinterview.com/interview/15170/ 

 
- Java says "write once, run anywhere". What are some ways this isn't quite true? 
http://www.coolinterview.com/interview/450/ 

 
- Advantages of Implementing Runnable over extending Thread 
http://www.coolinterview.com/interview/5517/ 

 
- If interface has got four methods,and I like to implement only two methods, how this could be achieved? 
http://www.coolinterview.com/interview/10773/ 

 
- What do mean by polymorphism, inheritance, encapsulation? 
http://www.coolinterview.com/interview/373/ 

 
- IBM Interview Questions in Bangalore 
http://www.coolinterview.com/interview/5660/ 

 
- Solve it... public class test { public static void main(String[] args) { int i=5; i=i++; System.out.println("result::"+i); } } 
http://www.coolinterview.com/interview/10789/ 

 
- How will you call an Applet using a Java Script function? 
http://www.coolinterview.com/interview/760/ 

 
- How to make a class or a bean serializable? 
http://www.coolinterview.com/interview/348/ 

 
- How many methods do u implement if implement the Serializable Interface? 
http://www.coolinterview.com/interview/375/ 

 
- What is the mapping mechanism used by Java to identify IDL language? 
http://www.coolinterview.com/interview/726/ 

 
- What is meant by distributed Application. Why we are using that in our applications? 
http://www.coolinterview.com/interview/681/ 

 
- what is the definition of arraylist? plz write in brief. 
http://www.coolinterview.com/interview/12622/ 

 
- How can you achieve Multiple Inheritance in Java? 
http://www.coolinterview.com/interview/457/ 

 
- In a large-scale multi-threaded environment, how might you organise access to a shared resource (such as a database connection)? 
http://www.coolinterview.com/interview/15738/ 

 
- Why Java is not fully object oriented? 
http://www.coolinterview.com/interview/721/ 

 
- What is the meaning of "final" keyword? 
http://www.coolinterview.com/interview/5646/ 

 
- What is the abstraction? Give example? 
http://www.coolinterview.com/interview/11678/ 

 
- What is meant by static query and dynamic query? 
http://www.coolinterview.com/interview/696/ 

 
|

|

|

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
FREE GATE EXAM PREPARATION RESOURCES
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

<*> http://www.onestopgate.com - Complete Resources on GATE Exam (General Aptitude Test of Engineering). Visit now at http://www.onestopgate.com

<*> http://forum.onestopgate.com - GATE Discussion Forum - Share all your experiences and discuss all the queries here at http://forum.onestopgate.com

<*> http://groups.yahoo.com/group/OneStopGATE/join - JOIN ONESTOPGATE GROUP - Join OneStopGATE group now and receive the latest information and preparation material on GATE Exam now! http://groups.yahoo.com/group/OneStopGATE/join



---------------------------------------------------------------



Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
        Join http://groups.yahoo.com/group/OneStopGATE/join
      Join http://groups.yahoo.com/group/OneStopGATE/join
    Join http://groups.yahoo.com/group/OneStopGATE/join
  Join http://groups.yahoo.com/group/OneStopGATE/join
Join http://groups.yahoo.com/group/OneStopGATE/join

No comments: