Sunday, 3 July 2011

Core Java


  • How the elements are organized in BorderLayout?

  • How to avoid the runtime exception ?

  • What is deadlock and how to avoid this?

  • How to add and remove nodes in Jtree?

  • Can applet in different page/s communicate with each other?

  • Can an unreachable object become reachable again?

  • How you can create a radio buttion using Checkbox class?

  • How GUI component handle its own events?

  • Without creating a new object, How you can retrieve a String or other object?

  • How are this() and super() used with constructors?

  • How are this and super used?

  • How the elements are organized in GridLayout?

  • Can you declare a static variable in a method?

  • Can you call a constructor within a constructor?

  • Can we declare variables inside a method as Final Variables?

  • How the elements are organized in GridBagLayout?

  • Howmany address lines are required to addressing 1 MB memory?

  • What is lazy activation?

  • Explain about Superclass and Subclass?

  • Explain Stream Tokenizer?

  • Explain Event handling in AWT?

  • what are ER diagrams?

  • Does java support multi dimensional arrays ?

  • Does garbage collection guarantee that a program will not run out of memory?

  • Difference between String & StringBuffer

  • Difference between Interface & Abstract class?

  • Can an anonymous class be declared as implementing an interface and extending a class?

  • Can an abstract class be final?

  • Can a lock be acquired on a class?

  • Difference between Applet & Application?

  • Difference between canvas class & graphics class?

  • Define Compiling?

  • What is the default modifier in Interface?

  • What will happens if you opened Internet Explorer 4 times?

  • what are Checked & Unchecked exceptions ?

  • Can you run the product development on all operating systems ?

  • Can you have an inner class inside a method and what variables can you access?

  • Can you have a constructor in abstract class?

  • Can you extend more than one interface?

  • Can we access a database using applets?

  • Can try statements be nested?

  • Can an exception be rethrown?

  • Can Applet have constructors?

  • As a developer what steps do you take to improve the performance?

  • Does 'true' and 'false' are keywords?

  • Explain about global variables in Java?

  • How are commas used in the initialization and iteration parts of a for statement?


  • Can a Byte object be cast to a double value?

  • What is static binding and where it occurs?

  • what is Remote Reference Layer ?

  • What is file class and what is its purpose?

  • Explain Public static void main?

  • Name two subclasses of the TextComponent class?

  • What are teh sub-classes of a component class?

  • What are the names of Component subclasses that support painting?

  • What primitive Java types? Howmany are they and what are their names?

  • What are the names of interfaces that doesn't consists of method/s ?

  • Can you give names of Container classes?

  • What classes can be used to store arbitrary number of objects ?

  • Explain Connection Pooling?

  • Are there any tools available in java to create reports?

  • Does any tag exists in HTML to upload and download files ?

  • Is 'sizeof' a keyword?

  • Is 'null' a keyword?

  • Is multiple inheritance allowed in Java? Why ?

  • Are nested try statements are possible?

  • A class can be a subclass of itself?

  • Is &&= a valid Java operator?

  • What are Inner classes?

  • Name the package that most of the AWT events that supports event-delegation model are defined?

  • How to display names of all components in a Container?

  • What we have to do, when we don't want to implement all methods of an interface?

  • How to re-get an object that is collected by garbage collector?

  • How to access a variable if it is declared as private?

  • How to access a method that it declared as protected?

  • How can a class be accessed, If no access modifiers are declared?

  • How to add panel to a Frame?

  • How to prevent a field from serialization ?

  • How to know the host from which Applet is originated?

  • What method is used to compare two strings ?

  • How applets will communicate with each other?

  • How many times garbage collector will invoke an object?s finalize() method?

  • How can you take string into InputStream?

  • How can you reverse a string?

  • How to transfer data from an Applet to Servlet ?

  • How to print nodes of a Binary tree?

  • Can an object?s finalize() method be invoked while it is reachable?

  • Can an object be garbage collected while it is still reachable?

  • How to implement a multithreaded applet?

  • How to find the length and capacity of a string buffer ?

  • How can you eliminate duplicates?

  • How can you debug the Java code?

  • How to convert a string to long?

  • How to connect to a remote database using Applet?

  • explain about casting of objects?

  • What are parent methods and how can you call them?

  • How the elements are organized in CardLayout?




  •  

    No comments:

    Post a Comment