Popular posts from this blog
Write a Java code to input height (in inches) and convert it into feet and inches.
Design an AWT application to check whether the number entered in textbox is prime or not.
Source Code:- import java.awt.*; import java.awt.event.*; class Prime extends Frame implements ActionListener { TextField tf1,tf2; public Prime() { setLayout(new FlowLayout()); Label lb1=new Label("Enter Number:"); Label lb2=new Label("The Number is:"); tf1=new TextField(15); tf2=new TextField(15); ...

Comments
Post a Comment