Can an anonymous class be declared as implementing an interface and extending a class? What is the range of the short type? What is the range of the char type? In which package are most of the AWT events that support the event-delegation model defined? What is the immediate superclass of Menu? What is the purpose of finalization? Which class is the immediate superclass of the MenuComponent class.
What invokes a thread's run method? Name three subclasses of the Component class. What is the GregorianCalendar class? Which Container method is used to cause a container to be laid out and redisplayed? What is the purpose of the Runtime class? How many times may an object's finalize method be invoked by the garbage collector?
What is the purpose of the finally clause of a try-catch-finally statement? What is the argument type of a program's main method? Which Java operator is right associative? What is the Locale class? Can a double value be cast to a byte? What is the difference between a break statement and a continue statement? What must a class do to implement an interface? What method is invoked to cause an object to begin executing as a separate thread? Name two subclasses of the TextComponent class.
What is the advantage of the event-delegation model over the earlier event-inheritance model? Which containers may have a MenuBar? How are commas used in the initialization and iteration parts of a for statement?
What is the purpose of the wait , notify , and notifyAll methods? What is an abstract method? How are Java source code files named? What is the relationship between the Canvas class and the Graphics class? What are the high-level thread states? What value does read return when it has reached the end of a file? Can a Byte object be cast to a double value? What is the difference between a static and a non-static inner class?
What is the difference between the String and StringBuffer classes? If a variable is declared as private, where may the variable be accessed? What is an object's lock and which objects have locks?
What is the Dictionary class? How are the elements of a BorderLayout organized? When can an object reference be cast to an interface reference?
What is the difference between a Window and a Frame? Which class is extended by all other classes? Can an object be garbage collected while it is still reachable? Is the ternary operator written x : y? What is the difference between the Font and FontMetrics classes? How is rounding performed under integer division? What happens when a thread cannot acquire a lock on an object?
What classes of exceptions may be caught by a catch clause? If a class is declared without any access modifiers, where may the class be accessed? What is the SimpleTimeZone class? What is the Map interface? Does a class inherit the constructors of its superclass? For which statements does it make sense to use a label? What is the purpose of the System class? Which TextComponent method is used to set a TextComponent to the read-only state? How are the elements of a CardLayout organized?
Name the eight primitive Java types. Which class should you use to obtain design information about an object? What is the relationship between clipping and repainting? Is "abc" a primitive value? Naming Class? What are the layers of RMI Architecture? What is the basic principle of RMI architecture? What is RMI? What does Connection pooling mean? What is the use of CallableStatement? Name the method, which is used to prepare a CallableStatement. What is the advantage of PreparedStatement over Statement?
What is the purpose Class. What is JDBC? What is the design pattern that Java uses for all Swing components? How can a GUI component handle its own events? What is the relationship between an event-listener interface and an event- adapter class?
What is the relationship between clipping and repainting? What is the difference between a Window and a Frame? How are the elements of a GridBagLayout organized? How are the elements of a BorderLayout organized? What is clipping? Name three Component subclasses that support painting.
Which Swing methods are thread-safe? What is the difference between a Scrollbar and a JScrollPane? What is a layout manager? What is the difference between a Choice and a List? What is the applet security manager, and what does it provide? What is the applet class loader, and what does it provide? What is the difference between applets loaded over the internet and applets loaded via the file system?
What are untrusted applets? What are the restrictions imposed on Java applets? What is the difference between an Applet and a Java Application? What happens when an applet is loaded? Explain the life cycle of an Applet. What is an Applet? How does finally block differ from finalize method? What will happen to the Exception object after exception handling? What is the importance of finally block in exception handling? What is the difference between throw and throws?
What is the difference between Exception and Error in java? What are the two types of Exceptions in Java? Which are the differences between them? Does Garbage collection occur in permanent generation space in JVM? When does an Object becomes eligible for Garbage collection in Java? What is the difference between Serial and Throughput Garbage collector? What is structure of Java Heap? What is Perm Gen space in Heap? If an object reference is set to null, will the Garbage Collector immediately free the memory held by that object?
When is the finalize called? What is the purpose of finalization? What does System. What is the purpose of garbage collection in Java, and when is it used? What is the difference between HashSet and TreeSet? Please mail your requirement at [email protected] Duration: 1 week to 2 week. ActionEvent; import java. ActionListener; import java.
KeyEvent; import javax. AbstractButton; import javax. Icon; import javax. JCheckBoxMenuItem; import javax. JFrame; import javax. JMenu; import javax. JMenuBar; import javax.
Next Topic Java JSeparator. Reinforcement Learning. R Programming. React Native. Python Design Patterns. Python Pillow.
0コメント