51 Program to demonstrate Overriding in Java

Code: class SuperClass { int a,b; SuperClass(int a) { this.a = a; b = 20; } void display() { System.out.println(...
Read More

50 Program to demonstrate Overloading in Java

Code: class Overloading { int a , b ; Overloading() { a = 10; b = 20; } Overloading(int a , int b) { this.a = a...
Read More

49 Program to perform demonstrate final method in Java.

Code: // Final Method import java.io.*; import java.util.*; class FinalMDemo { static int a = 10 , b = 20; // static final vo...
Read More

48 Program to demonstrate Final Keyword in Java

Code: // Final Keyword class FinalDemo { final int a = 100; public static void main( String args[] ) { FinalDemo f = new ...
Read More

47 Program to perform Abstract Class in Java

Code: abstract class AbstractClass { abstract void display(); } class Demo extends AbstractClass { void display() { System...
Read More

46 Program to implement Wrapper class all methods in Java

Code: class Wrap {     public static void main(String args[])     { Integer i = new Integer(10); int b = 123456; // Parse...
Read More

45 Program to add two jagged array in Java

Code: import java.util.*; import java.io.*; class Add { public static void main( String args[] ) throws IOException { Buffere...
Read More

44 Program to use different methods of Vector Class in Java

Code: import java.util.Vector; class VectFun { public static void main( String args[] ) { Vector v = new Vector(); v.addEle...
Read More

42 Where we can use "this" keyword in our Java file?

Code: class Demo { static { } { System.out.println("nsb: " + this.hashCode() );   } Demo() { System.out....
Read More

41 Program to insert different elements in the Vector and display them in Java.

Code: import java.util.vector class Vect { public static void main( String args[] ) { Vector v = new Vector(); int a = 10; ...
Read More

25 Constructor and Destructor in VB.NET

Code: Module Module1     Public Class Test         Public Sub New()             Console.WriteLine(" Constructor ")       ...
Read More

24 Program to Sum of items in Combo Box in VB.NET.

Code: Public Class Form1     Public Class Add         Public i, sum As Integer         Sub display()             sum = 0         ...
Read More

23 Program to use class in Form Based Program in VB.NET

In this program we are finding volume using a class. Code: Public Class Form1     Public Class Box1         Public l, b, h, vol As I...
Read More

22 Program using Procedure to take 3 subject marks and find average in VB.NET.

Code: Module Module1     Public Class Student         Public s1, s2, s3 As Integer         Public avg, sum As Double         Sub a...
Read More

43 What is super keyword and usage of super keyword ?

Code: class SuperClass { int a = 111; static int b = 222; static void m1() { System.out.println(" Super class static m...
Read More

28 PROGRAM TO DIVIDE TWO 8 BIT SIGNED NUMBERS IN 8086

Code: ; PROGRAM TO DIVIDE TWO 8 BIT SIGNED NUMBERS .MODEL SMALL .STACK 100 .DATA    REM DB ?    QUO DB ? .CODE    MOV BL , -4  ; ...
Read More

27 PROGRAM TO DIVIDE TWO 16 BIT NUMBERS IN 8086 MICROPROCESSOR

Code: ; PROGRAM TO DIVIDE TWO 16 BIT NUMBERS .MODEL SMALL .STACK 100 .DATA     QUO DW ?     REM DW ? .CODE    MOV BX , 25  ; DIVI...
Read More

26 PROGRAM TO DIVIDE TWO 8 BIT NUMBERS IN 8086 MICROPROCESSOR

Code: ; PROGRAM TO DIVIDE TWO 8 BIT NUMBERS .MODEL SMALL .DATA     REM DB 0     QUO DB 0 .CODE     MOV AX , 26  ; Dividend is alwa...
Read More

24 PROGRAM TO MULTIPLY TWO 16 BIT UNSIGNED NUMBERS RESULT IS MAX 32 BIT IN 8086 MICROPROCESSOR

Code: ; PROGRAM TO MULTIPLY TWO 16 BIT UNSIGNED ; NUMBERS RESULT IS MAX 32 BIT .MODEL SMALL .STACK 100 .DATA    NUM1    DW 012F0H ...
Read More

23 Program to multiply two 8 bit unsigned numbers result is max 16 bit in 8086 Microprocessor.

Code: ; PPROGRAM TO MULTIPLY TWO 8 BIT ; UNSIGNED NUMBERS RESULT IS MAX 16 BIT .MODEL SMALL .STACK 100 .DATA    NUM1 DB 03H    NU...
Read More

22 Program on Addition of 10 BCD numbers in Series in 8086 Microprocessor

Code: ; Addition of 10 BCD numbers in Series .MODEL SMALL .STACK 100 .DATA   ARRAY   DB 1,2,3,4,5,6,7,8,9,10   SUM_LSB DB 0   SUM_...
Read More

21 Program to add 2 BCD numbers in 8086 Microprocessor

Code: ; PROGRAM TO ADD 2 BCD NUMBERS .MODEL SMALL .STACK 100 .CODE    MOV AL , 09H    MOV BL , 06H    ADD AL , BL    DAA       ...
Read More

20 Program for addition of 8 bit numbers in series result may be greater than 16 bit in 8086 Microprocessor.

Code: ; PROGRAM TO ADDITION OF 8 BIT NUMBERS ; IN SERIES RESULT MAY BE GREATER THAN 16 BIT .MODEL SMALL .STACK 100H .DATA   ARR1 ...
Read More

19 Program to print an array using loop in 8086 Microprocessor

Code: ; Program to print an array using loop .MODEL SMALL .STACK 100 .DATA    ARR1 DB '1','2','3','4'...
Read More

18 Program to subtract two 16 bit number in 8086 Microprocessor

Code: ; Program to substract two 16 bit numbers .MODEL SMALL .STACK 100 .CODE   MOV AX , 8900H  ; Load 1st num   MOV BX , 7C60H  ;...
Read More

16 Program to add two 16 bit number in 8086 Microprocessor.

Code: ; Program to add 2 16bit number .MODEL SMALL .STACK 100 .CODE        MOV AX,8960H ; Load first number in AX   MOV BX,7C60H ;...
Read More

17 Program to sum two 16 bit number Using Memory in 8086 Microprocessor

Code: ; Program to add 2 16 bit number using memory .MODEL SMALL .STACK 100 .DATA    NUM1 DW 8A64H  ;  First Number    NUM2 DW 5F9...
Read More

Practical No. 13: Develop program for implementation of Arrays in Java

1) Write a program to implement multidimensional array. Click Here 2) State line number and error. class Test2 { public static void ...
Read More

40 Program on 3d array in Java

Code: import java.io.*; import java.util.*; class Arr { public static void main( String args[] ) { int a[][][] = new int[2][4]...
Read More

Practical No. 11 and 12: Develop program for implementation of different functions of String class

1) Write a program to show the use of all methods of String Class.   Click Here 2) State Output class String_demo { public static vo...
Read More

39 Program to implement all methods of StringBuffer class in Java

Code: class Str { public static void main( String args[] ) { StringBuffer s = new StringBuffer("Coding Atharva"); ...
Read More

Practical No. 10: Develop program for implementation of constructor and multiple constructor

1) Demonstrate use of at least two types of constructors. Code: class Const { int a,b; Const(int a,int b) { this.a=a; th...
Read More