DEV Community

ankitaj23
ankitaj23

Posted on

Day 1 with Java

Journaling my Day 1 so far:

  1. Reviewed on basics:
    ->Why Java is Platform independent?
    Byte code (i.e Compiled code) can be run on all OS.
    -> Variables, Conditionals & loops: if-else, else if ladder .

  2. Solved these following basic Problems using While Loops:
    -> Program to Print 1st 10 natural numbers
    ->Calculate the sum of 1st 10 natural numbers
    ->Printed Times Table for a given number
    ->Printed Factorial value of any number

Top comments (1)

Collapse
 
sandraahlgrimm profile image
Sandra Ahlgrimm

Keep on doing!

And feel free to share some code for tips :)