Gadgets

Samsung Galaxy S8

Posted on

Samsung Galaxy S8 Features: NETWORK Technology GSM / HSPA / LTE BODY Dimensions 140.1 x 72.2 x 7.3 mm (5.52 x 2.84 x 0.29 in) Weight – Build Corning Gorilla Glass 5 back panel SIM Single SIM (Nano-SIM) or Dual SIM (Nano-SIM, dual stand-by) – Samsung Pay (Visa, MasterCard certified) – IP68 certified – dust/water […]

HTML

HTML Programming codes

Posted on

How to create a Theme for website by HTML and Bootstrap. HTML Form Elements. HTML Forms. HTML Encoding (Character Sets). HTML Symbols. HTML Entities. HTML Iframes. HTML Responsive Web Design. HTML Layouts. HTML Classes. HTML Lists. HTML Tables. HTML Images. HTML Links. HTML Text Formatting Elements. HTML Elements. HTML Basic. HTML Editors. HTML Introduction. Create […]

C++

C ++ Programmes

Posted on

Write a Program that Gets Five Inputs from the User in an Array and then Sorts this Array in Ascending Order. Write a Program that Stores Five Values in an Array. It Sorts the Array Using Bubble Sort. It also Displays the Values of Unsorted and Sorted Array. Write a Program to Implement Virtual Function. […]

c Programming

C programmes

Posted on

Write a Program to Calculate the Net Salary. Write a Program to Swap Values of Two Variables Without using 3rd Variable. Write a Program to Swap Values of Two Variables using Third Variable. Write a Program to Convert Time in Seconds to Hours, Minutes and Seconds. Write a Program to Convert Temperature from Degree Centigrade […]

Programmes

Java programes

Posted on

Program to Create an Application that Represents Biodata Form Program to Draw a Concentric Circles with Random Colors Program to Draw a Smiling Face Program to Handle any Three In-built Exceptions Program to Implement Thread using Runnable Interface Program to Implement Multithreading Program to Implement Overriding of Methods Program to Implements the Concept of Multiple […]

Java

Program to Create an Application that Represents Biodata Form

Posted on

/* Java Program to Create an Application that Represents Biodata Form */ import java.lang.*; import java.io.*; class EmployeeS { int age, num; String nme, add; void emp_Info(int x) { try { num = x; DataInputStream dts=new DataInputStream(System.in); System.out.println(“Enter Your Name:”); nme = dts.readLine(); System.out.println(“\nEnter Your Address:”); add = dts.readLine(); System.out.println(“\nEnter Your Age:”); age = Integer.parseInt(dts.readLine()); […]

Java

Program to Draw a Concentric Circles with Random Colors

Posted on

/*** Java Program to Draw a Concentric Circles with Random Colors ***/ Java Source Code import java.awt.*; import java.applet.*; import java.util.*; public class cir_c extends Applet { public void paint(Graphics g) { Random rg = new Random(); for (int i=1; i<=3; i++) { int r = rg.nextInt(255); int gr = rg.nextInt(255); int b = rg.nextInt(255); […]

Java

Program to Draw a Smiling Face

Posted on

/**** Java Program to Draw a Smiling Face ****/ import java.applet.*; import java.awt.*; import java.awt.event.*; /*<applet code=”smile.class” height=200 width=200></applet>*/; public class smile extends Applet { public void paint(Graphics g) { g.drawOval(250,250,300,300); g.drawOval(310,320,30,30); g.drawOval(440,320,30,30); g.drawLine(390,350,390,390); g.drawArc(330,400,140,90,0,-180); } } Output:

Java

Program to Handle any Three In-built Exceptions

Posted on

/**** Java Program to Handle any Three In-built Exceptions ****/ class checkExcept { public void add() { try { int y = 20,z = 0; int x = y/z; System.out.println(x); System.out.println(“working”); } catch(ArithmeticException a) { System.out.println(“error”); } catch(SecurityException a2) { System.out.println(“error”); } catch(ArrayStoreException a1) { } catch(Exception x) { System.out.println(x.getMessage()); } finally { System.out.println(“finaly”); } […]