0% found this document useful (0 votes)
3 views3 pages

Java Programming Concepts and Classes

Java paper bank of BCA

Uploaded by

mylove611206
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

Java Programming Concepts and Classes

Java paper bank of BCA

Uploaded by

mylove611206
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

 All exception types are subclasses of the ___class.

 Date class is the important class of which package?


 Difference between JFrame, JPanel.
 Differentiate: AWT v/s Swing
 Differentiate: constructors v/s methods
 Differentiate: JFrame v/s JPanel
 Draw a diagram of the hierarchy of Java Swing classes
 Exception class exists in which package?
 Explain abstract Class.
 Explain any one decision statement
 Explain Applet life cycle
 Explain applet tag.
 Explain Border layout.
 Explain Button class.
 Explain Concept of User Defined Package in brief
 Explain DataInputStream Class.
 Explain Event Delegation Model in detail.
 Explain FilelnputStream Class
 Explain final class with an example
 Explain how to achieve run-time polymorphism in Java with an example.
 Explain Instance Of operator.
 Explain JButton.
 Explain JList
 Explain JRadioButton
 Explain Lifecycle and States of a Thread in Java
 Explain method overloading with an example
 Explain method overriding in Java with an example.
 Explain Multi-level inheritance with an example.
 Explain stream tokenizer class with example.
 Explain String class with its method.
 Explain the Java Exception Hierarchy with a diagram
 Explain the lifecycle of an applet.
 Explain throw and throws keywords.
 Explain vector class with its method
 Explain what is Daemon Thread
 Full name JFC.
 Full Name: GUI
 Give full form of JRE.
 Give full form of JVM.
 Give the abbreviation of AWT
 Give the names of Layout types
 Give the names of MouseMotionListener Event handler
 How many Exception Handling Keywords are there in Java? Name them.
 How many parameter passing in [Link]( ) method?
 How many types of packages are there in Java? Name them.
 In Graphics class which method is used to draws a rectangle with the specified width
and height?
 List and explain the features of Java Programming language.
 List out two valid constructors for Thread
 List out type of access specifies In Java.
 List the features of Java Programming language.
 Name the keyword used to inherit a class
 Name the package that is used for swing components
 start() method creates new thread and calls code written in run() method. State TRUE or
FALSE
 The Method-Overloading and Method-Overriding are not the same. State TRUE or
FALSE.
 Threads in java share the same memory space and resources. State TRUE or FALSE
 What are the two ways of implementing thread in Java? Explain them with examples.
 What are the types of inheritance in Java? Explain Multi-level inheritance with an
example.
 What is a static method? Can we Overload static methods in Java?
 What is Adapter Classes? Explain Adapter Classes in detail.
 What is an applet? How will you initialize an applet?
 What is default value of long data type?
 What is an Exception? Explain with an example.
 What is overloading? Explain method overloading with example.
 What is the difference between JDK, JRE, and JVM?
 What is the difference between the throw and throws keywords in Java?
 What is the full form of GUI?
 What is the name of the method used to start a thread execution?
 What is the super or base class of all exceptions in Java?
 What is the superclass for error and exception classes in Java?
 What is the Thread Life cycle? Explain it.
 What is type casting explain with example.
 Which are two methods executed only one time in the applet Life cycle?
 Which function is called to display the output of an applet?
 Which is the default Layout Manager for an Applet?
 Which keyword can be used to prevent Method overriding?
 Which keyword is used in a subclass to call the constructor of superclass?
 Which keyword is used to define packages in Java?
 Which keyword is used to manually throw an exception?
 Which keyword must be used to inherit a class?
 Which Layout class is used to arrange the components either vertically or horizontally?
 Which Layout class is used to arrange the components in a line, one after another (in a
flow)? Write an example.
 Which Layout class is used to arrange the components in a rectangular grid?
 Which Layout class is used to arrange the components in five regions: north, south, east,
west, and center? Explain with an example.
 Which Layout class manages the components in such a manner that only one component
is visible at a time?
 Which method can set or change the text in a Label in AWT and Swing
 Which method is used to stop Thread for some time?
 Which method of graphics class is used to draw circle in an applet?
 Which method of Thread class is used to suspend a thread for a period of time?
 Which package is always imported by default?
 Which package is import when we use Random class?
 Which package IS imported when we use StringBuffer Class?
 Which package is needed to use swing components?
 Which package provides classes for java swing API such as JButton, JTextField,
JTextArea, JRadioButton, JCheckbox, JMenu, JColorChooser etc.
 Which package stores all the standard java classes?
 Which type of class is not inherited in Java?
 Write a calculator program using Java swing.
 Write a code to draw smile face on screen
 Write a program to calculate the area of a circle using Constructor.
 Write a program to calculate the area of a rectangle using constructor
 Write a Program to demonstrate the menu using swing.
 Write a program to demonstrate the use of JList with ActionListener
 Write a short description of FileReader, BufferedReader, FileWriter, and BufferedWriter
classes
 Write any three methods of the Graphics class with an example.
 Write the difference between AWT and Swing
 Write the default value of the long data type
 Write the Full Form of JFC
 Write the name of the method which is defined in Graphics class, is used to output a
string in an applet.
 Write the types of constructors in Java
 Explain GridLayout.
 Explain GridbagLayout.
 Explain Jagged Array.
 Give full form IIB.
 Explain nested (Inner) class.
 Write a note on SortedSet.

You might also like