Posts

Showing posts from September, 2017

JAVA: Program to check working of OPERATORS

Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions. Common simple examples include arithmetic (addition with +), comparison (with >), and logical operations (such as AND or &&). More involved examples include assignment (usually = or :=), field access in a record or object (usually .), and the scope resolution operator (often ::). Languages usually define a set of built-in operators, and in some cases allow user-defined operators. ref. google Click to download

JAVA: Program to check if a string is a PALINDROME

Palindrome:- a word, phrase, or sequence that reads the same backward as forward, e.g.,  madam  or  nurses run. Click to Download

JAVA: Program to reverse a String by words

Input:-  The quick brown fox jumped over the lazy dog! Output:-  dog! lazy the over jumped fox brown quick The Click to Download

JAVA: Program to remove comments from String

IP:- //this is a comment OP:- this is a comment Click to Download

JAVA: program to calculate Factorial

the product of an integer and all the integers below it; e.g., factorial four ( 4! ) is equal to 24. Click to Download

JAVA: Program to print FIBONACCI Sequence

a series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc. ref.google Click to Download