View Full Version : Core Java Questions
- What is mean by dirty read
- What is JIT
- Can we Connect Applet to Data Base
- Basic difference b/w ALL types of JDBC driver
- What is the difference between Applet & Servlet
- How to run eclipse with jettyserver using batch file
- Why abstract class should have a constructor
- How to write a program for chat function using core java
- What is Inheritance, Polymorphism, Encapsulation
- What is difference between hashmap and hashtable
- What do you mean by JVM
- What do you mean by wrapper Class
- Can you create interface instance
- What is dynamic method dispatch
- Why we use applets
- Which is not Object in Java
- What is bit
- How many bits are there in the byte
- How to write a program for sending mails between client and server
- What is the Arraylist limit by default
- How do you change JVM for other OS? should need to Change
- Can abstract class have constructor how can it
- Which one the better thread implemented thread or extended
- Can we write a program with out a class in core java
- What is thread
- What is casting
- What is Interface
- How the threads are synchronized
- What is OOP
- Do you know thread pools
- What is hash method
- What is data abstraction? Elaborate with example
- What is the difference between arraylist and linkedlist
- Write the code for Palindrome
- What is Restrictions in hibernate
- Can we override static methods
- What are generics in jdk1.5
- Difference between flush() and commit() in hibernate
- What is the advantage of using threads
- What is garbage collection in Java, and how it is used
- Differentiate constructor and a method and how can be used
- What is an abstract class
- How can final class be used
- Java support what type of parameter passing
- Explain the term serialization
- By what default value is an object reference declared as an instance variable
- What is Overriding and how can it be used
- In which way does a Primitive data type is passed
- What is UNICODE
- What are Transient and Volatile Modifiers
- What is the use of bin and lib in JDK
- WHAT IS finalize() method
- Is there any need to import java.lang package
- What happens when a main method is declared as private
- there is any error if you have multiple main methods in the same class
- Difference between this(), super()
- Difference between an argument and a parameter
- What are different types of access modifiers
- What are Encapsulation, Polymorphism and Inheritance
- Difference between Superclass and Subclass
- Explain different ways of passing arguments to sub-routine
- What are inner and anonymous class
- b,b1,b2 are byte types
- How can we find size of the object
- What is the Diff. between Access Specifiers and Access Modifiers
- How many classes that package java.applet.* contains
- How to print nodes of a Binary tree
- How to reduce flicking in animation
- What is I/O Filter
- How to initialize an Applet
- What is 3-tier model
- Can a class inherit the constructors of its superclass
- Difference between Application and Applet
- For which statements we use a label
- How to eliminate duplicates from an array
- Name the methods in mouse listeners
- Explain Global variables in Packages
- Explain about GridBag Layout
- How OOPS concept is achieved in Java
- Can an exception be rethrown
- Can Applet have constructors
- Does 'true' and 'false' are keywords
- What Method and class used for Connection pooling
- Can you call a private data from an inner class
- Can multiple catch statements be used in exceptions
- What are integer overflows and underflows and how to handle them
- How are Java source code files named
- How are Observer and Observable used
- Can try statements be nested
- Explain about global variables in Java
- Name the class that used to read objects directly from a stream
- Can we access a database using applets
- Can you have a constructor in abstract class
- Can you extend more than one interface
- Define Compiling
- Can a lock be acquired on a class
- Difference between Applet & Application
- Can an abstract class be final
- How can we add two bytes variables
- How can you debug the Java code
- How to convert a string to long
- Explain about casting of objects
- How to add and remove nodes in Jtree
- How to avoid the runtime exception
- What is deadlock and how to avoid this
- How are this and super used
- What is lazy activation
- Explain Stream Tokenizer
- Explain Event handling in AWT
- What are ER diagrams
- What is the default modifier in Interface
- What are Checked & Unchecked exceptions
- Does java support multi dimensional arrays
- Difference between canvas class & graphics class
- Explain about Superclass and Subclass
- Can you declare a static variable in a method
- How the elements are organized in CardLayout
- How the elements are organized in GridLayout
- How to connect to a remote database using Applet
- What are parent methods and how can you call them
- How the elements are organized in BorderLayout
- Can applet in different pages communicate with each other
- Difference between Interface & Abstract class
- How GUI component handle its own events
- How are this() and super() used with constructors
- Can you call a constructor within a constructor
- What will happens if you opened Internet Explorer 4 times
- How the elements are organized in GridBagLayout
- Have you used any version control ? if so explain about it
- Can you run the product development on all operating systems
- Can an unreachable object become reachable again
- How you can create a radio button using Checkbox class
- Can you have an inner class inside a method and what variables can you access
- class be declared as implementing an interface and extending a class
- As a developer what steps do you take to improve the performance
- How are commas used in the initialization and iteration parts of a for statement
- Does garbage collection guarantee that a program will not run out of memory
- Without creating a new object, How you can retrieve a String or other object
- Can we declare variables inside a method as Final Variables
- How many address lines are required to addressing 1 MB memory
- How can you eliminate duplicates
- How to find the length and capacity of a string buffer
- How to implement a multithreaded applet
- Can an object be garbage collected while it is still reachable
- Can an object?s finalize() method be invoked while it is reachable
- How to print nodes of a Binary tree
- How to transfer data from an Applet to Servlet
- How can you reverse a string
- How can you take string into InputStream
- How applets will communicate with each other
- How to add panel to a Frame
- How to prevent a field from serialization
- What method is used to compare two strings
- How to know the host from which Applet is originated
- How can a class be accessed, If no access modifiers are declared
- How to access a method that it declared as protected
- How to access a variable if it is declared as private
- How to re-get an object that is collected by garbage collector
- How to display names of all components in a Container
- What are Inner classes
- Is 'null' a keyword
- Is 'sizeof' a keyword
- Is &&= a valid Java operator
- Can a double value be cast to a byte
- Can a Byte object be cast to a double value
- What is static binding and where it occurs
- what is the package of most the AWT event that support
- Does any tag exists in HTML to upload and download files
- Can you give names of Container classes
- nested try statements are possible
- Is multiple inheritance allowed in Java? Why
- What classes can be used to store arbitrary number of objects
- How many times garbage collector will invoke an object?s finalize() method
- A class can be a subclass of itself
- Are there any tools available in java to create reports
- Explain Connection Pooling
- What are the names of Component subclasses that support painting
- What are the sub-classes of a component class
- Name two subclasses of the TextComponent class
- Explain Public static void main
- What is file class and what is its purpose
- What is Remote Reference Layer
- What are the names of interfaces that doesn't consists of methods
- What are primitive Java types? How many are they and what are their names
- What we have to do, when we don't want to implement all methods of an interface
- Can a for statement loop indefinitely
- What is the form of storage space in java
- What are the latest versions in JAVA related areas
- What is the minimum and maximum length of an identifier
- What class is used to implement a Throwable array
- What is the default initialized value of String type variable
- What is the default initialized value of a Boolean type variable
- When garbage collector invokes object?s finalize() method
- How Applets & Servlets will communicate with each other
- How do you compare two strings? any predefined method for this
- How do you load an HTML page from an Applet
- What are the differences between Java 1.0 and Java 2.0
- How is rounding performed under integer division
- What is "finally" keyword
- What is hypertext
- What is interface and its use
- What is 'finally' method in Exceptions
- What are blocks
- How to do validation of the fields in any project
- What is the Use of throws exception
- What are access modifiers in Java
- Different types of Layouts
- Methods in Applet
- Different types of modifiers
- Name the packages in JDK
- What are E and PI
- What are virtual methods
- What is Vector class
- What are other modifiers
- What are the operands of instanceof operator
- What are packages and name a few
- What are listeners in java and explain
- What are Access Specifiers and Access Modifiers
- What are advantages of using Java?s layout managers than windowing systems
- What method is used to know the status of Checkbox
- What are the interfaces defined by Java.lang package
- What are the Object and Class that classes used for
- What are command line arguments
- How this statement determine which catch clause should be used to handle an exception
- How many bits are allocated to represent character sets Unicode, ASCII,UTF-16,UTF-8
- What are order of precedence and associativity, and how are they used
- What are the advantages of the model over the event- inheritance model
- What are the common problems you have faced while implementing Java
- Name the components that are termed to be Heavy-weight component
- What are primitive data types in Java
- What problems will occur when you don?t use layout managers
- What are the limitations for static method
- What are the restrictions imposed by a Security Manager on Applets
- Name the runtime exceptions that occurs frequently
- types of applets
- Name the types of 'priority'
- What are virtual functions
- What are types of Java applications
- In what ways you can handle exception
- Name the types of mouse event listeners
- What are the traverses in Binary Tree
- What services that container provides
- What is an event
- What is an enumeration class
- What is an Iterator interface
- What is a void return type
- What is a stream? what are the different types and classes of Streams
- What is a serializable interface
- What is a reflection package
- What is a native method