JAVA
JAVA
4)Primitive datatype-Decimal
7)Reference datatype-changes
reflected
8)Arithmetic operators
9)Relational operators
10)Logical operators
11)Unary operators-post fix-increment
and decrement
12)Unary operators-pre fix-increment
and decrement
13)typecasting(explicit)
18)Switching-alternative for
conditionals
19)Looping-for loop
20)Looping-while loop
21)Nested loops
24)Jump statements-continue
25)Find max from user input
2)Shopping cart
3)user input
4)Swapping based on user input
5)area of triangle
6)display date
7)Factorial
8)Leap year
*)Note:nextline cannot be used
immediately after nextint,nextfloat or
next long as \n remains in input
buffer,consume using ob.nextLine
9)Finding greatest number using
ternary operator
10)Fibonacci-similar to swap
PART1(basics-conquest)
1)Arrays(1d)
2)2d array
PART2:-(oops)
1)method or fn def and calling without
parameters and void
14)Parameterised constructors
Note:-
diff between method and constructor
Method can have any name-can be void or non void
Constructor can only have name of class
Method can be explicitly called by user any number of
times
Constructor is implicitly called while using the
object(automatically called when object is made not by
user)
22)Types of inheritance