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

38 Program to perform addition of two complex number in java

Code: //a+bi import java.util.*; import java.io.*; class Complex { public static void main( String args[] ) { int a1,b1,a2,...
Read More

Practical No. 3: Write an assembly language program to perform addition and subtraction of two 8 and 16-bit numbers

PROGRAM TO ADD 2 8BIT NUMBER Code: ; PROGRAM TO ADD 2 8BIT NUMBER .MODEL SMALL .STACK 100 My_Data SEGMENT   NUM1 DB 80   NUM2 ...
Read More