Write a java Program for Construstor Overloading 19:28 import java.util.*; class Cricketer { String name,team; int age; Cricketer() { name=""; team=""...
Write a java Applet Program TO display Check Box (Tea Coffee) 19:14 import java.applet.Applet; import java.awt.*; import java.awt.event.*; public class NewApplet extends Applet implements ItemList...
Write a java program to display Rhombus 01:01 import java.util.*; class Rhombus { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.ou...
Write a java Program to Sort In Ascending and Descending 00:42 import java.util.*; class SortOrder { public static void main(String args[]) { Scanner sc = new java.util.Scanner(System.in); ...
Write a java program to display Prime Number 00:33 import java.util.*; public class PrimeNumber { public static void main(String args []) { Scanner sc = new Scanner(System.in); in...
Write a java Program to Perform String Operation 00:27 import java.util.*; class StringOperation { public static void main(String args[]) { String first=" ",second=" &...
Write a java Applet program to perform KeyBoard Event 23:42 import java.awt.*; import java.awt.event.*; import java.applet.*; /* <applet code="Key" width=300 height=400> <...
Write a java applet Program to perform Mouse Event 22:10 import java.applet.Applet; import java.awt.event.*; import java.awt.Graphics; import java.awt.Event; public class MouseEvents extends A...
Write a java Program To find Factorial Of A Number 09:53 import java.util.Scanner; class Factorial { public static void main(String args[]) { int n,c,fact=1; System.out.println("...
Write a java Applet Program For Ball Moving 01:13 import java.applet.*; import java.awt.*; public class Ball extends Applet implements Runnable { int i=0, j=0; Thread t; public vo...
Lab 7:Write a Visual Basic Program to Find Divisible by 5 07:59 Function DIV5(ByVal N As Integer) If N Mod 5 = 0 Then DIV5 = True Else DIV5 = False End If End Function Private Sub Command1_Click()...
Lab 8:Write a Visual Basic Program to Find Prime or Not 07:54 Private Sub Command1_Click() Dim i As Integer Dim n As Integer n = Val(Text1.Text) For i = 2 To n - 1 If n Mod i = 0 Then Print "...