Ask Question, Ask an Expert


Ask Java Expert

Home >> Java

problem 1: a) Define Object Oriented Paradigm? Describe advantages of Object Oriented Programming.    

b) What is polymorphism? describe advantages of polymorphism with the ex.    

problem 2: a) describe platform independence? Describe why java is secure and platform independent.    

b) prepare a program in java to generate Fibonnaci Series.    

c) prepare the advantage of Unicode.              

d) describe the importance of PATH and CLASS PATH.    

problem 3: a) Define exception? Create the exception subclass named MyException to handle user generate exceptions in Java.

b) Define abstract class? What are advantages of using abstract class? prepare the program in Java to describe abstract class and multilevel inheritance.

problem 4: Differentiate the following and support with the ex:

• Final and static member

• Inheritance and Aggregation

• Abstract class and Interface

• String and String Buffer

problem 5: a) Name the classes in Java available for file handling? prepare the program in Java to append content at the end of an already existing file.

b)  Describe the difference between checked and unchecked exceptions with ex.    

problem 6: a) describe multithreading? Describe the two ways of creating threads in Java programs. Also describe difference between notify() and notify All( ) methods.

b) What is need of Layout Manager? describe different layouts available in Java.        

problem 7: a) What do you understand by the term Applet? prepare the applet that prints "Lear Java it is useful" at present cursor position whenever the mouse left button is clicked.                  

b) Consider a class which stores the Bank account holder's name, account number, ATM card number, account balance and ATM PIN. prepare the program to store data onto a disk file, except for account balance and ATM PIN. Use serialization and transient variables.

problem 8: a) prepare Java program to set up JDBC and execute the following:

QL statement on a database table employee-t with the fields
emp-id, emp name, emp-department, empbasic

"SELECT * FROM employee-t where emp-basic < 10000.

b) describe Java Bean ? Describe its advantages?

Java, Programming

  • Category:- Java
  • Reference No.:- M92176

Have any Question? 

Related Questions in Java

Program- java applet to practice multiplication with user

Program- Java Applet to Practice Multiplication with User Interaction 1) Develop a Java applet that will help an elementary school student learn multiplication. Use the Math.random method or a Random object to produce tw ...

Java programming using ide netbeansdetailed question must

Java programming using IDE NetBeans Detailed Question: Must use file operations, exception handling, recursive programming (to calculate averages), and encapsulation (or inheritance) in the program Must have four java fi ...

Javapizzacontactlistat the beginning of all your programs

JavaPizza ContactList At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program. Example: /************************************************ ...

Assignmentdevelop a cinema ticket booking application in

Assignment Develop a Cinema Ticket Booking Application in Java with the following functionality, available from the console: Requests the Customer's name, age and asks if they are a student Lists films that are currently ...

Questions for java programing answer each question with at

QUESTIONS FOR JAVA PROGRAMING (answer each question with at least 5 sentences) 1. Discuss why it is necessary to use repetitive and selective statement. Use segment codes to demonstrate your understanding. Explain why yo ...

Write a java program and pseudocode to read a number up to

Write a java program and pseudocode to read a number up to 15 digits long or a date (dd/mm/yyyy). The program should distinguish numbers from input date, and prints them in alphabetic spelling form. Example: for input 23 ...

Java programthis assignment will count as both homework and

Java Program This assignment will count as both homework and lab. Develop a program that will allow the user to display the starting line and the bench for a basketball team. The user will also have the option of swappin ...

1how does java support the concept of encapsulation2

1. How does Java support the concept of encapsulation? 2. Describe the difference between an object and a class. 3. What is the difference between the contents of a Java variable of a primitive type and a Java variable o ...

Write a jsp program that generates subtraction quizzes

Write a JSP program that generates subtraction quizzes randomly, as shown in Figure 43.14a ( . The first number must always be greater than or equal to the second number. After the use ...

Javawrite a program that finds and prints all the solutions

**java**write a program that finds and prints all the solutions to the N queens problem for a given N. At the end of your program, print how many solutions were found. What is the N-Queens problem, you ask? 1) Google it. ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen