-
Armstrong Number
Armstrong Number is a number that equals to the sum of its digits, each raised to a power. Armstrong number was discovered by mathematician Michael Frederick Armstrong (1941-2020) and is also known as narcissistic or Plus Perfect or pluperfect number. Armstrong numbers form the OEIS sequence A005188. Example : For one-digit : 1: 1^1 =…
-
Fibonacci Series
Number series in which next number is the sum of previous two numbers is called Fibonacci Series Example : 0, 1, 1, 2, 3, 5, 8, 13, etc. Fibonacci Series in Java can be written in following two ways : 1) Without Recursion2) With Recursion Following two programmes illustrate Fibonacci Series Using Recursion & without…
-
Method
Java Method Method in Java is a block of code which is used to execute specific tasks for which it is written and return the result to the caller.A Java method can perform some specific task without returning anything.It is used for code reusability and also increases code readability. It also allows to break program…
-
Naming Convention
Java Naming Convention Java naming convention is a set of rule to follow to name the identifiers such as class,variable,package,constant, method, etc. Java follows CamelCase naming convention for writing names of methods, variables, classes, packages, and constants.It consists of compound words or phrases such that each word or abbreviation begins with a capital letter or…
- July 2025
- June 2025
- March 2025
- January 2025
- December 2024
- November 2024
- April 2024
- December 2023
- November 2023
- October 2023
- August 2023
android (2) array (2) break (1) callbyreference (1) callbyvalue (1) checkedexception (1) compiletimeexception (1) compiletimerror (1) constructor (1) constructoroverloading (1) continue (1) controlstatements (1) customexception (1) decisionmaking (2) decisionmakingstatements (2) defaultconstructor (1) dowhileloop (1) error (1) forloop (2) goto (1) Green (1) helloworld (1) if (1) ifelse (1) ifelseif (1) ifelseifladder (1) iteration (2) iterations (1) JamesGosling (1) java (43) javabreak (1) javacallbyreference (1) javacallbyvalue (1) javaconstructor (1) javacontinue (1) javacontrolstatements (1) javadowhileloop (1) javaforloop (1) javagoto (1) javahelloworld (1) javaif (1) javaifelse (1) javaifelseif (1) javaifelseifladder (1) javaiteration (1) javaiterations (1) javajumpstatement (1) javajumpstatements (2) java keyword (4) javakeyword (2) javakeywords (2) javalabel (1) javaloop (1) javaloopingtstatements (1) javaloops (2) javaloopstatements (1) javamethodoverriding (1) javanestedif (1) java oops (2) javaprogram (31) javaprogramming (23) javareturn (1) javasearching (2) javasorting (6) javastring (7) javastringprogram (6) javaswitchcase (2) javavirtualmachine (1) javawhileloop (1) jump (1) jumpstatement (1) jumpstatements (2) jvm (1) keyword (5) label (1) logicalerror (1) loop (3) looping (1) loops (1) mergesort (2) nestedif (1) noargsconstructor (1) oops (3) Oracle (1) palindrome (2) parameterizedconstructor (1) recursion (2) return (1) runtimeerror (1) runtimeexception (1) searching (2) sort (1) sorting (7) string (7) stringbuilder (2) SunMicrosystems (1) switchcase (2) syntaxerror (1) userdefinedexception (1) whileloop (1)