March 2019 - Coder's point

Monday, March 25, 2019

palindrome

import java.util.*; class palindrome { public static void main(String args[]) { String original, reverse ="&...
March 25, 2019 0

Overloading

import java.io.*; class overloaddemo { int upperCaseCounter=0,lowerCaseCounter=0,digitCounter=0,whiteSpaceCounter=0,specialCoun...
March 25, 2019 0

Interface

import java.lang.*; import java.io.*; interface Exam { void percent_cal(); } class Student { String name...
March 25, 2019 0

Thread

class RunnableDemo implements Runnable { private Thread t; private String threadName; RunnableDemo( String name) { t...
March 25, 2019 0

Saturday, March 16, 2019

Tribonacci Series

//The tribonacci series is a generalization of the Fibonacci sequence where each term is the sum of the three preceding terms. import j...
March 16, 2019 0

Twin Prime Series

//A twin prime is a prime number that is either 2 less or 2 more than another prime number—for example, either member of the twin prime pa...
March 16, 2019 0

Smith Number

//A Smith Number is a composite number whose sum of digits is equal to the sum of digits in its prime factorization. import java.util...
March 16, 2019 0

Pronic Number

A pronic number  is a number  which is the product of two consecutive  integers , that is,a   number  of the form n(n + 1).              ...
March 16, 2019 0

Neon Number

A number  is said to be a  Neon Number  if the sum of digits of the square of the  number  is equal to the  number itself. Example- 9 is ...
March 16, 2019 0

Friday, March 15, 2019