My blog allows teachers to teach their students more effectively. This blog provides all teacher training program.
Thursday, 9 January 2020
Wednesday, 8 January 2020
I Msc II Sem COMPUTER NETWORKS LAB
IMPORTANT QUESTION UNIT WISE ClickHere
UDP and TCP Lab theory Updated ClickHere
AES and DES Program Updated Click Here
Tuesday, 31 December 2019
Thursday, 31 October 2019
Package Test Program
PackageTest.java
import java.io.*;
import arithmetic.*;
class PackageTest
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int a,b,ch;
System.out.println("Enter Two Intger Values:");
a=Integer.parseInt(br.readLine());
b=Integer.parseInt(br.readLine());
System.out.println("1.Addition \n 2.Subtraction \n 3.Multiplication \n 4. Division \n Enter Your Choice");
ch=Integer.parseInt(br.readLine());
switch(ch)
{
case 1:
Add aobj=new Add();
int res1=aobj.getAdd(a,b);
System.out.println("Addition is :"+res1);
break;
case 2:
Sub sobj=new Sub();
int res2=sobj.getSub(a,b);
System.out.println("Subtraction is :"+res2);
break;
case 3:
Mul mobj=new Mul();
int res3=mobj.getMul(a,b);
System.out.println("Multiplication is :"+res3);
break;
case 4:
Div dobj=new Div();
float res4=dobj.getDiv(a,b);
System.out.println("Division is :"+res4);
break;
default:
System.out.println("Enter With in the choice");
break;
}
}
}
import java.io.*;
import arithmetic.*;
class PackageTest
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int a,b,ch;
System.out.println("Enter Two Intger Values:");
a=Integer.parseInt(br.readLine());
b=Integer.parseInt(br.readLine());
System.out.println("1.Addition \n 2.Subtraction \n 3.Multiplication \n 4. Division \n Enter Your Choice");
ch=Integer.parseInt(br.readLine());
switch(ch)
{
case 1:
Add aobj=new Add();
int res1=aobj.getAdd(a,b);
System.out.println("Addition is :"+res1);
break;
case 2:
Sub sobj=new Sub();
int res2=sobj.getSub(a,b);
System.out.println("Subtraction is :"+res2);
break;
case 3:
Mul mobj=new Mul();
int res3=mobj.getMul(a,b);
System.out.println("Multiplication is :"+res3);
break;
case 4:
Div dobj=new Div();
float res4=dobj.getDiv(a,b);
System.out.println("Division is :"+res4);
break;
default:
System.out.println("Enter With in the choice");
break;
}
}
}
--------------------------------------------------------------------------------------
package arithmetic;
public class
Add
{
public
int getAdd(int x,int y)
{
return
(x+y);
}
}
--------------------------------------------
package arithmetic;
public class Div
{
public
float getDiv(int x,int y)
{
float
r=(float)x/y;
return
(r);
}
}
-------------------------------------
package arithmetic;
public class
Mul
{
public
int getMul(int x,int y)
{
return
(x*y);
}
}
------------------------------
package arithmetic;
public class
Sub
{
public
int getSub(int x,int y)
{
return
(x-y);
}
}
Tuesday, 22 October 2019
Wednesday, 16 October 2019
Friday, 26 July 2019
Subscribe to:
Posts (Atom)
LAB Records CMI Degree College
2 YEAR IV SEMESTERLAB MANUALS BSC - JUNE 2023 1.PHYSICS 2.STATISTICS Applied statistics practicals download Sampling techniques and desig...
-
Click Here Thanks for already registered users. I happy that some of you also doing practice. Feel Free to contact for more about cl...
-
Click the below link for cocomo model program Program link
-
2 YEAR IV SEMESTERLAB MANUALS BSC - JUNE 2023 1.PHYSICS 2.STATISTICS Applied statistics practicals download Sampling techniques and desig...