Saturday, 4 March 2017

Magic Number


Program for check whether a number is Magic or Not

A Magic number said to Magic on the behalf of following rule
  • Sum of each digit (1729=1+7+2+9=19)
  • Reverse obtain sum of digit i.e. (19=91)

Thursday, 2 March 2017

MySQL Insert Record





Table Structure

Field
Type
Null
Default
Comments
roll
int(11)
No 

 Auto Increment
name
varchar(50)
No 


city
varchar(50)
No 


sub
varchar(30)
No 





Object Oriented Approach


<?php 
$servername = "localhost";
$username = "root";
$password = "";

Core Java Assignment 6

Core Java Assignment 7

A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 6


Write a Java Program to create three interfaces, each with two methods. Inherit a new
interface from the three, adding a new method. Create a class by implementing the new

Core Java Assignment 5


A10.1-R4: INTRODUCTION TO OBJECT ORIENTED PROGRAMMING THROUGH JAVA.

Assignment 5


Write an applet with a JTextArea where the user can enter some text. The applet should
have a button. When the user clicks on the button, the applet should count the number of