my name is anjan sharma I have learnt some basic concept of java. In today's I have covered these fundamental topics of basic java are:-
1.Sum of a and b(input from user)
2.Product of a and b
3.Area of circle
- Type conversion in java
5.Type Casting in java
6.Type promotion in java
1.Printing Hello World 100x times using while loop 2.Printing numbers from 1 to 10 using while loop 3.Printing numbers from 1 to n using while loop 4.Printing sum of first n natural numbers using while loop 5.Print square pattern by using for loop in java 6.Reverse of a given no 7.do while loop as well as break Statement 8.keep entering no till user enters a multiple of 10 9.Continue statement:--> to skip an iteration
1.INTRODUCTION 2.ARRAYS CREATION 3.ARRAYS-->INPUT , OUTPUT, UPDATE 4.ARRAYS AS FUNCTION ARGUMENT 5.LINEAR SEARCH 6.LARGEST IN ARRAYS 7.BINARY SEARCH 8.BINARY SEARCH CODE 9.REVERSE AN ARRAYS 10.PAIRS IN ARRAYS 11.PRINT SUB-ARRAYS 12.MAX SUBARRAYS SUM-1(BRUTE FORCE) 13.MAX SUBARRAYS SUM-2(PREFIX SUM) 14.MAX SUBARRAYS SUM-3(KADANE'S ALGORITHM) 15.TAPPING RAINWATER PROBLEM 16.BEST TIME TO BUY AND SELLS STOCK PROBLEM
#data #printing #java #javabasics
Anjan Kumar Sharma
#typecastinginjava
#typeconversioninjava
#typepromotioninjava