|
Thread / Post | Tags |
Title: PROGRAM TO FIND VOLUME OF YOUR BEDROOM AND KITCHEN USING INHERITANCE Page Link: PROGRAM TO FIND VOLUME OF YOUR BEDROOM AND KITCHEN USING INHERITANCE - Posted By: erhardeepsingh
Created at: Thursday 05th of October 2017 04:03:20 AM
| |
import java.io.*;
class Broom
{
int length,width,height;
Broom(int l,int w,int h)
{
length=l;
width=w;
height=h;
}
int volume()
{
return(length*width*height);
}
}
class Kroom extends Broom
{
Kroom(int l,int w,int h)
{
super(l,w,h);
}
void display()
{
System.out.println(Volume is:+volume());
}
}
class Nbroom1
{
public static void main(String args)throws IOException
{
DataInputStream dis=new DataInputStream(System.in);
System.out.println(enter the parametrs of bedroom);
System.out.println(enter l ....etc
[:=Read Full Message Here=:]
|
|
Title: to find whether a number is krishnamurthy number or not using java Page Link: to find whether a number is krishnamurthy number or not using java - Posted By: Computer Science Clay
Created at: Thursday 05th of October 2017 04:49:04 AM
| |
program for to find wether a no is krishnamurthy or not
....etc
[:=Read Full Message Here=:]
|
|
Title: PROGRAM TO FIND ROOTS OF QUADRATIC EQUATION BY USING PACKAGES AND INTERFACE Page Link: PROGRAM TO FIND ROOTS OF QUADRATIC EQUATION BY USING PACKAGES AND INTERFACE - Posted By: COOLVEER
Created at: Thursday 17th of August 2017 04:43:37 AM
| |
//QuadEqn.java
package p;
interface Quadratic
{
void process();
}
public class QuadEqn implements Quadratic
{
double a,b,c,d;
public QuadEqn(double x,double y,double z)
{
a=x;
b=y;
c=z;
}
public void process()
{
d=b*b-(4*a*c);
if(d==0)
{
double r=-b/2*a;
System.out.println(Roots are equal.Root=\t+r);
}
else
if(d>0)
{
double sq=Math.sqrt(d);
double r1=(-b+sq)/2*a;
double r2=(-b-sq)/2*a;
System.out.println(Root1=\t+r1+\nRoot2=\t+r2);
}
else
System.out.println(Ro ....etc
[:=Read Full Message Here=:]
|
|
|
Title: PROGRAM TO FIND FACTORIAL OF NUMBER USING RECURSION Page Link: PROGRAM TO FIND FACTORIAL OF NUMBER USING RECURSION - Posted By: godavari
Created at: Thursday 05th of October 2017 04:41:51 AM
| |
import java.io.*;
class Factorial
{
int fact(int n)
{
if(n<=1)
return 1;
else
return (n*fact(n-1));
}
}
class Newfact
{
public static void main(String args)throws IOException
{
DataInputStream dis=new DataInputStream(System.in);
System.out.println(Enter the number);
int i=Integer.parseInt(dis.readLine());
Factorial f=new Factorial();
System.out.println(Factorial is+f.fact(i));
}
}
OUTPUT
E:\ 5BCA-B\lijo\java >javac Newfact.java
Note: Newfact.java uses or overrides a deprecated ....etc
[:=Read Full Message Here=:]
|
Title: socket programming to find factorial Page Link: socket programming to find factorial - Posted By: bineet
Created at: Thursday 05th of October 2017 05:23:36 AM
| |
To get full information or details of socket programming to find factorial please have a look on the pages
http://seminarsprojects.net/Thread-socket-programming?pid=859&mode=threaded
http://seminarsprojects.net/Thread-socket-programming?pid=46443&mode=threaded
http://seminarsprojects.net/Thread-socket-programming-in-java-full-report
if you again feel trouble on socket programming to find factorial please reply in that page and ask specific fields in socket programming to find factorial ....etc
[:=Read Full Message Here=:]
|
|
|
Title: PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERRIDING Page Link: PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERRIDING - Posted By: vipindasmr
Created at: Thursday 17th of August 2017 05:27:43 AM
| |
import java.io.*;
class Figure
{
double x,y;
Figure(double l, double m)
{
x=l;
y=m;
}
}
class Rectangle extends Figure
{
Rectangle(double l, double m)
{
super(l,m);
}
double area()
{
return(x*y);
}
}
class Circle extends Figure
{
final float pi=3.14f;
Circle(double l,double m)
{
super(l,m);
}
double area()
{
return(pi*x);
}
}
class Triangle extends Figure
{
Triangle(double d1,double d2)
{
super(d1,d2);
}
double area()
{
return((x*y)/2);
}
}
clas ....etc
[:=Read Full Message Here=:]
|
Title: optimization of cutting parameters in cnc turning using full factorial method ppt Page Link: optimization of cutting parameters in cnc turning using full factorial method ppt - Posted By: pushpak
Created at: Thursday 17th of August 2017 04:52:50 AM
| |
to get information about the topic cutting parameters in cnc turning using full factorial method related topic rfer the page link bellow
http://seminarsprojects.net/Thread-optimization-of-machining-parameters-in-cnc-turning-of-martensitic-stainless-steel
http://seminarsprojects.net/Thread-investigation-of-cutting-parameters-of-surface-roughness-for-a-non-ferrous-material
http://seminarsprojects.net/Thread-cutting-parameters-optimization-for-the-wire-edm-process-using-continuous-ants-colo
http://seminarsprojects.net/Thread-optimization-of ....etc
[:=Read Full Message Here=:]
|
Title: PROGRAM TO FIND VOLUME OF CLASS ROOM USING CONSTRUCTOR OVERLOADING Page Link: PROGRAM TO FIND VOLUME OF CLASS ROOM USING CONSTRUCTOR OVERLOADING - Posted By: ziddy_keshav
Created at: Thursday 17th of August 2017 08:45:45 AM
| |
import java.io.*;
class Vroom
{
int length,width,height;
Vroom()
{
length=width=height=0;
}
Vroom(int l,int w,int h)
{
length=l;
width=w;
height=h;
}
Vroom(Vroom v)
{
length=v.length;
width=v.width;
height=v.height;
}
int volume()
{
return(length*width*height);
}
}
class Newv
{
public static void main(String args)throws IOException
{
DataInputStream dis=new DataInputStream(System.in);
System.out.println(enter the length);
int i=Integer.parseInt(dis.readLine());
Syst ....etc
[:=Read Full Message Here=:]
|
|
|
Title: PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERLOADING Page Link: PROGRAM TO FIND AREA OF DIFFERENT SHAPES USING OVERLOADING - Posted By: mandvi
Created at: Thursday 17th of August 2017 05:06:02 AM
| |
import java.io.*;
class Area
{
void area(int l,int b)
{
int ar=l*b;
System.out.println(Area of rectangle=+ar);
}
void area(double r,double h)
{
double ar=(3.14*r*r*h);
System.out.println(Area of circle=+ar);
}
void area(int a)
{
int ar=a*a;
System.out.println(Area of square=+ar);
}
void area(float b,float h)
{
double ar=0.5*b*h;
System.out.println(Area of triangle=+ar);
}
}
class Newar
{
public static void main(String args)throws IOException
{
Area r=new Area();
DataInputStream dis=new DataI ....etc
[:=Read Full Message Here=:]
|
Title: PROGRAM TO FIND THE SUM OF ARRAY USING RECURSION java Page Link: PROGRAM TO FIND THE SUM OF ARRAY USING RECURSION java - Posted By: jcubav
Created at: Thursday 17th of August 2017 06:46:39 AM
| |
import java.io.*;
class Arraysum
{
int temp;
int sum(int a,int n)
{
if(n==1)
return a;
else
{
temp =sum(a,n-1);
temp=temp+a;
return temp;
}
}
}
class Newarray
{
public static void main(String args)throws IOException
{
DataInputStream dis=new DataInputStream(System.in);
System.out.println(Enter limit);
int n=Integer.parseInt(dis.readLine());
int a=new int;
System.out.println(Enter the array);
for(int i=0;i
{
a=Integer.parseInt(dis.readLin ....etc
[:=Read Full Message Here=:]
|