Flat 50% off on all training & certification courses. Limited time offer Explore courses

Use these filters to find papers

  Question
1

(b) Write a Java class called as SavingsAccount with members as AccountNo and balance. Provide depositAmount() & withdrawAmount() functions. If user tries to withdraw more money than his balance, then throw a User Defined Exception. 

This question has 0 answers so far.
1

(a) What is a private constructor? How we can create the object of the class having private constructor from other class.

This question has 0 answers so far.
0
Which event is generated when a scrollbar is updated? This question has 0 answers so far.
0
How does Java ByteCode differ from other machine level codes? This question has 0 answers so far.
0
What is an adapter class? This question has 0 answers so far.
0
Which are the access specifiers available in Java? This question has 0 answers so far.
0
What is a reference variable? This question has 0 answers so far.
0
Can an applet class have a constructor? Justify your answer. This question has 0 answers so far.
0
What are the roles of Java compiler and interpreter? This question has 0 answers so far.
0
State the purpose of a static block. This question has 0 answers so far.
0
Why Java is called TypeSafe language as compared to C++? This question has 0 answers so far.
0
State the use of this' keyword. This question has 0 answers so far.
0
What are abstract classes? How does they differ from concrete classes? Con an abstract class be instantiated? Can there be an abstract constructor. Explain your answer with suitable example. This question has 0 answers so far.
0
What is a constructor? Does Java provide a default constructor? Does Java provide a default copy constructor? Explain your answer with suitable example. This question has 0 answers so far.
0
How is method overloading different from method overriding? Give suitable example, This question has 0 answers so far.
0
What is the need of an interface in Java? This question has 0 answers so far.
0
Discuss the usages of 'final' keyword. This question has 0 answers so far.
0
Compare String and String Buffer classes with suitable exeunples. This question has 0 answers so far.
0
Mention various states of a thread. Give their features. This question has 0 answers so far.
0
Discuss the process of synchronization of threads with an example. This question has 0 answers so far.
0
Write a Java program to copy contents of one file to another file. This question has 0 answers so far.
0
Differentiate between checked and unchecked exceptions. Write a program to create user-defined exception and use the same in the main program. This question has 0 answers so far.
0
What is delegation cvent model? Write a program to illustrate the keybourd OR mouse event handling This question has 0 answers so far.
0
Differentiate between Swings and AWT controls. This question has 0 answers so far.
0
Explain the life cycle of an applet. This question has 0 answers so far.
0
Write a program to display student's details such as name, roll number, marks cte, in an applet window. Provide these input details through html file. This question has 0 answers so far.
0
What is JDBC? Discuss the general JDBC architecture. What are basic steps to create a JDBC application? This question has 0 answers so far.
0
What are the different types of JDBC statement? This question has 0 answers so far.
0
Write a short note on Client-Server applications in Java. This question has 0 answers so far.
0
Write notes on the Java Servlets. This question has 0 answers so far.
0
Write notes on the InetAddress class. This question has 0 answers so far.
0
Write notes on the Byte and Character strean classes. This question has 0 answers so far.
0
Write notes on the Layout Manager. This question has 0 answers so far.
0
Discuss the differences between the Super class and sub class This question has 0 answers so far.
0
Discuss the differences between the Byte and character streams. This question has 0 answers so far.
0
Discuss the differences between the Check box and radio button This question has 0 answers so far.
0
Discuss the differences between the Adapter class and inner class. This question has 0 answers so far.
0
Discuss the differences between the Java classes and Java Interfaces This question has 0 answers so far.
0
What is a thread? Describe the complete life cycle of thread. Provide an example to create and execute the thread. This question has 0 answers so far.
0
State any six features of Java in detail. This question has 0 answers so far.
0
Explain the following terms with respect to exception handling. Provide an example to demonstrate the following terms: (a) Try (b) Catch (c) Throw (d) Finally Write a program which demonstrate how exceptions are implemented. This question has 0 answers so far.
0
What is the difference between an argument and a parameter?Discuss with an example. This question has 0 answers so far.
0
What is polymorphism? Write a JAVA program that uses polymorphism. This question has 0 answers so far.
0
What is Inheritance? With diagrammatic illustration and JAVA Program(s), Illustrate types of inheritance. Give sell explanatory comments in your program. This question has 0 answers so far.
0
Define I/0 stream. Write a java program to illustrate the use of I/0 stream. This question has 0 answers so far.
0
How do applets differ from application programs? Explain with example? This question has 0 answers so far.
0
Distinguish between the Input stream and Reader classes. This question has 0 answers so far.
0
Distinguish between the Output stream and Write classes This question has 0 answers so far.
0
Write a program to accept number from user and convert into binary by using wrapper class methods. This question has 0 answers so far.
0
Write short notes on Datagrams and TCP/IP based client and server socket. This question has 0 answers so far.
0
Write short notes on Swings and comparison with AWT controls. This question has 0 answers so far.
0
Write short notes on JDBC Architecture and JDBC Drivers. This question has 0 answers so far.
0

What are symbolic constants? What are their advantages?

This question has 0 answers so far.
0

What are the different data types in java? Give the size of each.

This question has 0 answers so far.
0

What is decision making in java?

This question has 0 answers so far.
0

What is switch statement? Write an example program to illustrate.

This question has 0 answers so far.
0

What is counter controlled while loop? What is sentinel controlled loop?

This question has 0 answers so far.
0

What are nested loops? Write an example program to illustrate it.

This question has 0 answers so far.
0

List all the methods of String class. Give the use of each with appropriate examples.

This question has 0 answers so far.
0

Write a program to create a 2-dimensional array and display its elements one by one.

This question has 0 answers so far.
0

List all the methods of Character class. Give the uses of each with examples.

This question has 0 answers so far.
0

What is assertion? What are checked and unchecked exceptions?

This question has 0 answers so far.
0

Write a program to write to a binary file.

This question has 0 answers so far.
0

List all the methods of File class.

This question has 0 answers so far.
0

Give the inheritance hierarchy of Java AWT and Swing classes.

This question has 0 answers so far.
0

What is event driven programming?

This question has 0 answers so far.
0

Explain any ton of the following briefly

a) What is the role of JRE?

b) What is the use of finalize() method?

c) What is constructor overloading?

d) What is the role or priority in multithreading programmring?

e) What I/O classes can be used to take input from keyboard in java programs.

f) What is user defined exception? How is it credit?

g) What is an inner class?

h) Write any five methods of Scrollbar class..

i) What is the use of AWT package?

j) Differentiate TCP and UDP.

k) What is the use of loetAddress class?

l) What is the DriverManager class in JDBC? 

This question has 0 answers so far.
0

a) Explain interface with example. Write down its advantages.

This question has 0 answers so far.
0

b) What is array? Write syntax to create irregular two dimensional array? Give suitable example.

This question has 0 answers so far.
0

c) Write a java application that takes an integer number as input from command line and computes the sum of digits and number of digits.

This question has 0 answers so far.
0

a) What are the usages of this" and "super" keywords?

This question has 0 answers so far.
0

b) Explain Abstract class in java? What is the advantage of abstract class? Give suitable example.

This question has 0 answers so far.
0

c) Explain instance variable hiding with suitable example.

This question has 0 answers so far.
0

a) Explain any 5 string methods with syntax.

This question has 0 answers so far.
0

b) What is Exception? What is the difference between checked and unchocked exception? Write a program to demonstrate exception handling is java with example.

This question has 0 answers so far.
0

a) Explain Thread life cycle. Write a program that have two threads where one thread print table of 5 and other thread print 2 string 10 times

This question has 0 answers so far.
0

b) What a note of byte stream I/O classes and character stream I/O classes in java.

This question has 0 answers so far.
0

a) Write an applet to create moving banner.

This question has 0 answers so far.
0

b) What is Swing? Write down the features of swing Compare applet and swing.

This question has 0 answers so far.
0

a) Explain applet life cycle. Write an applet to change background color of applet using 3 scrollars representing colors red, green and blue respectively. 

This question has 0 answers so far.
0

b) Explain Delegation Event Model in detail. Discuss my five events and listeners to handle those events.

This question has 0 answers so far.
0

a) Write short notes on following:

1) InetAddress class and its factory methods :

2) Servlet Life Cycle 

This question has 0 answers so far.
0

b) Write a java application to connect to database table emp (id, name, design) and display all records of table.

This question has 0 answers so far.
0

a) Write a Servlet to display the current date and time.

This question has 0 answers so far.
0

b) What is JDBC? Explain all JDBC drivers and their features. What are the advantages of JDBC?

This question has 0 answers so far.
0

(c) List and explain the OOP principles.

This question has 0 answers so far.
0

(a) Explain the concept of abstract classes in Java.

This question has 0 answers so far.
0

(b) What is a Package? Discuss with suitable example the steps involved in creating and using packages.

This question has 0 answers so far.
0

(a) What are interfaces? What are their benefits? Give the general form of a class that implements interfaces.

This question has 0 answers so far.
0

(a) Explain the different ways of creating threads in java with syntax.

This question has 0 answers so far.
0

(b) How shared object can be protected from multiple access of threads?

This question has 0 answers so far.
0

(a) Bring out the differences between AWT and Swings using suitable example.

This question has 0 answers so far.
0

(b) Discus various layout managers available in AWT.

This question has 0 answers so far.
0

(a) Write a program  to illustrate BufferedInputStream and BufferedOutputStream.


This question has 0 answers so far.
0

(b) Compare byte stream class and character stream class.


This question has 0 answers so far.
0

Answer the following: -

(a) What is type casting? llustrate with example what is meant by Automatic type promotion.

This question has 0 answers so far.
0

Answer the following: -

(b) What is delegation event model?

This question has 0 answers so far.
0

Answer the following: -

c) Discuss the uses of 'throw' and 'throws' keywords

This question has 0 answers so far.
0

Answer the following: -

(d) Explain the different uses of 'super' keyword.

This question has 0 answers so far.
0

Answer the following:-

(e) Explain the lifecycle of an applet.

This question has 0 answers so far.
0

(a) Explain why the main function is declared as "public static void main(String args[])"? 

This question has 0 answers so far.
0

(b) List and explain any 8 Java buzzwords.

This question has 0 answers so far.
0

Write short note on:

(a) JDBC architecture

This question has 0 answers so far.
0

Write short note on:

(b) Adapter classes

This question has 0 answers so far.
0

Write short note on:

(c) Applets and comparison with application program

This question has 0 answers so far.
0

Write short note on:

(d) Check box and choice list

This question has 0 answers so far.
0

Answer the following questions:

(a) How can we pass parameters to an applet?

(b) What is the role of layout manager in AWT orswing?

(c) Can applet class have a constructor? Justify your answer.

(d) What is the What is the purpose of the jar tool?

(e) What is the difference between Integer and int?

(f) Why is it illegal for static method to invoke a non-static method?

(g) What do you understand by daemon thread.

(h) State the uses of 'super' keyword with an example.

(i) Write a note on inner classes.

(j) What do you understand by garbage collection in java? 

This question has 0 answers so far.
0

(a) What is the difference between equality of objects and equality of references that refer to them? 

This question has 0 answers so far.
0

(b) Write an application that computes the value of following expression 'exp' using the formula: exp = 1+x/1! + x2/2! + x3/3! +....

This question has 0 answers so far.
0

(a) What is the role of priorities in multithreading. What are its limitations?Explain with the help of an example how to set and get priority values for threads in Java.

(b) What do you understand by inter-thread communication in java?

This question has 0 answers so far.
0

(c) What is the role of stack in exception handling?

This question has 0 answers so far.
0

(a) Write a java program to accept two file names as command line argument. Copy only those lines from the first file to second which contains the work 'computer' .

This question has 0 answers so far.
0

(b) Discuss in detail throw' and 'throws' keywords.

This question has 0 answers so far.
0

(a) Explain in brief Java's event handling mechanism with the help of an example.

This question has 0 answers so far.
0

(b) What is a container? Explain how components are added to a container. What is a default layout of an applet? How can you change it?

This question has 0 answers so far.
0

(c) List the methods under Window Listener Interface.

This question has 0 answers so far.
0

(a) Swing components are lightweight components. Comment.

This question has 0 answers so far.
0

(b) What is a String Buffer class and how does it differ from String class?

This question has 0 answers so far.
0

(c) Why do we need both run() and start() methods in multithreading? Can we achieve it with only run() method? Explain. 

This question has 0 answers so far.
0

(a) Explain in detail various input and output streams and their corresponding classes in Java

This question has 0 answers so far.
0

b) Explain the life cycle of an applet.

This question has 0 answers so far.
0

Write notes on the following:

(a Interfaces 

This question has 0 answers so far.
0

 (b) Adapter classes 

 (c) Life cycle of Java Servlet                 (d) Checked Exceptions

This question has 0 answers so far.
0

(b) Explain the logical operator (& & and l l) with example. 

This question has 0 answers so far.
0

(a) What is a constructor? Write the program to pass the values to the base class constructor form the sub class. 

This question has 0 answers so far.
0

(b) Explain different access modifiers available in Java.

This question has 1 answers so far.
0

(a) Differentiate between checked and unchecked Exception. Give four examples of each type.

This question has 0 answers so far.
0

b) Explain the life cycle of Thread. Describe any five methods from thread class. .

This question has 0 answers so far.
0

(a) Write the program to count the number of words in file.

This question has 0 answers so far.
0

(b) Why String class objects are considered as immutable. Differentiate between length property and length ( ) method with example.


This question has 0 answers so far.
0

(a) What is layout manager? Explain any three layout managers in Java. Which method is used to set the layout manager? 


This question has 0 answers so far.
0

(b) Write a program to print the table of any number inside the applet.


This question has 0 answers so far.
0

(a) Explain the two predefined stream variables in and out.


This question has 0 answers so far.
0

(b) Differentiate between ODBC and JDBC.


This question has 0 answers so far.
0

(a) Explain the InetAddress class. Write the program to find the IP address of any website using the methods of InetAddress class. 

This question has 0 answers so far.
0

(b) Explain client server communication using sockets. Discuss the use of Server Socket and Socket Class in Java. 

This question has 0 answers so far.
0

Explain following in brief:- 

(a) Explain in detail the features of Java.

This question has 0 answers so far.
0

Explain following in brief:- 

(b) How a multidimensional array is represented in Java? Write the program to create a 2 * 2 array. 


This question has 0 answers so far.
0

Explain following in brief:- 

(c) Differentiate between Socket and Port.



This question has 0 answers so far.
0

Explain following in brief:- 

(d) How multithreading is achieved in Java programs. Discuss its advantages and disadvantages.



This question has 0 answers so far.
0

Explain following in brief:- 

(e) Differentiate between Swings and Applets.




This question has 0 answers so far.
0

Explain following in brief:- 

(f) How the constructor is overloaded in Java?





This question has 0 answers so far.
0

 (a) Discuss all the three usages of final keyword?

This question has 1 answers so far.
0

(b) How can we pass parameters to an applet?

This question has 1 answers so far.
0

(c) What is the difference between int and Integer?

This question has 1 answers so far.
0

(d) Differentiate between adapter and inner classes.

This question has 1 answers so far.
0

What is Driver Manager class in JDBC?

This question has 1 answers so far.
0

What is the use of this and super Keyword?

This question has 1 answers so far.
0

 What do you mean by Daemon thread? How can you set priority of a thread? 

This question has 1 answers so far.
0

How is method overloading different from method overriding? Explain with the  help of suitable code

This question has 1 answers so far.
0

What is a constructor? Does Java provide default constructor? Explain your answer with suitable example, in far with suitable example.

This question has 1 answers so far.
0

What is inheritance? Explain different types of inheritance in Java with sultable diagram and small segment of codes. 

This question has 1 answers so far.
0

What are cookies? Are they good or bad? Justify.

This question has 1 answers so far.
0

Explain the life cycle of a thread. Discuss the process of thread synchronizator with the heln of appropriate code. 

This question has 1 answers so far.
0

Explain any 5 String class methods in detall.

This question has 1 answers so far.
0

Differentiate between checked and unchecked exceptions. Write a program to demonstrate the concept of user defined exceptions.

This question has 1 answers so far.
0

Write a program to copy contents of one file to another.

This question has 2 answers so far.
0

What is delegation event model? Write program to explain keyboard event  handling. 

This question has 1 answers so far.
0

Differentiate between swing and AWT.

This question has 1 answers so far.
0

Write a program to change background color of applet using three scrollbars representing red, green and blue? 

This question has 2 answers so far.
0

 Write short notes on InetAddress class and its factory methods.

This question has 1 answers so far.
0

What is JDBC? Explain all JDBC drivers in detail.

This question has 1 answers so far.
0

Write a servlet to display current date and time.

This question has 2 answers so far.