Author Archives: MasterJavaTutorial

Generate Fibonacci Series

Fibonacci Series is a series of numbers in which each number is the sum of the two preceding numbers. e.g. 1,1,2,3,5,8,13,21,34,…….. 0,1,1,2,3,5,8,13,21,34,…….. is also a fibonacci series. Fibonacci Series satisfies… Read more »

Problem on String – Set 2

What will be output of the following program? package com.masterjavatutorial; public class Test { public static void main(String[] args) { String str = “HelloWorld”; String str1 = str.toUpperCase().toLowerCase(); String str3… Read more »