Slip No 6 Q A
Q.Write a java program to accept a number from user, if it zero then throw user defined Exception “Number Is […]
Q.Write a java program to accept a number from user, if it zero then throw user defined Exception “Number Is […]
Q. Write a java program to accept list of file names through command line. Delete the files having extension .txt.
Q.Write a java program to display following pattern: [15 M]54 53 4 52 3 4 51 2 3 4 5
Q. Write a java program using Applet to implement a simple arithmetic calculator.[25 M]
Q.Write a java program to display alternate character from a given string.[15 M]
Q.Define an abstract class Shape with abstract methods area () and volume (). Derive abstract class Shape into two classes
Q.Write a ‘java’ program to check whether given number is Armstrong or not.(Use static keyword)[15 M]
Q.Design a screen in Java to handle the Mouse Events such as MOUSE_MOVED and MOUSE_CLICK and display the position of