Advanced Java Programming Oral Questions
Advanced Java Programming Oral Questions
1) What is AWT
2) what is component?
3) what is container
4) explain window class
5) what you mean by Panel
6) explain Frame and give example on it
7) According to you what is method
8) for which purpose setSize method is used
9) what is Applet
10) which are the AWT controls
11) how to create simple button
12) what is use of setText() and getText() method
13) by default which scrollbar is present
14) what is the difference between Textfield and TextArea
15) what are the types of layout manager explain each type with their purpose
16) by default which layout is present
17) for which purpose we can use dialogue box
18) what you mean by file dialogue
19) which methods are used in color class explain each of them
20) what is Swing
21) what are the features of swing
22) difference between Swing and AWT
23) Explain Swings JComponent and JContainer
24) In JFrame which are the methods used to close windows
25) Which are the types of Swing buttons
26) Exaplain What is JTabbedPane
27) In tree how can we add and remove the child node or can change the parent node
28) what are the steps to create a table in scroll pane
29) what is the use of JProgressBar , JToolTip, JSlider, JDialog
30) Explain MVC architecture
31) What is Event
32) What is source
33) what are the Event classes
34) when does ActionEvent is occur
35) when does ItemEvent is occur
36) when does KeyEvent is occur
38) how many types of mouse events are present in class MouseEvent
39) how many types of window events are present in class WindowEvent
40) What is Adapter class
41) What is socket
42) What is IP
43) what is proxy server
44) reserved stockets and port numbers
45) what is mean by Internet addressing
46) ranges of class A,B,C,D
47) explain factory method and instace method
48) steps to create TCP/IP Client Application
49) steps to create TCP/IP Server Application
50) Use of class URL
51) which parameters are present in URL
52) use of class URLConnection with steps
53) Explain Datagrampacket and DatagramSocket
54) difference between TCP and UDP
55) What is JDBC ODBC driver explain with purpose
56) Characteristics of JDBC and steps to create database
57) what are the types of JDBC drivers
58) explain following JDBC classes-
Class class, Class DriverManager
59) explain the following JDBC interfaces-
Interface connection, Interface Statement, Interface PreparedStatement, Interface Callable
statement, Interface Resultset, Interface ResultsetMetadata
60) What is Servlet
61) Advantages of Servlet
62) What is CGI
63) benefits of Servlet
64) explain life cycle of Servlet
65) which are the packages used in Servlet API
66) Explain following javax.servlet interfaces-
Interface Servlet, Interface ServletContext, Interface ServletConfig, Interface ServletRequest,
Interface ServletResponse,
67) Explain following javax.servlet classes-
Class GenericServlet, Class ServletInputStream, Class ServletOutputStream
68) Explain following javax.servlet.http Interface -
Interface HttpServletRequest, Interface HttpServletRespoense, Interface HttpSession, Interface
HttpSession binding listener
69) Explain following javax.servlet.http classes-
Class Cookie, Class HttpServlet, Class HttpSessionEvent, Class HttpSessionBindingEvent
70) use of doGET and doPOST method
71) Explain Cookies and types of Cookies
72) explain sending a cookie, Retrieving a cookie, Destroying a Cookie
73) explain what is session and session tracking
74) how to create session and explain session tracking methods
75) what is JSP explain with advantages
76) explain session tracking methods
75) what is JSP explain with advantages
76) explain life cycle of jsp