Skip to content

AdesharaBrijesh/MAD_Practical-1_21012021001

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAD_Practical-1_21012021001

This is a repository in which i'm doing my MAD practicals.

AIM : Store & Display values in different variable of different type (Integer, Double, Float, Long, Short, Byte, Char, Boolean, String).

Capture

AIM : Type conversion:Integer to Double, String to Integer, String to Double.

image

AIM : Scan student’s information and display all the data.

image

AIM : Find the number is odd or even by using Control Flow inside println() method.

image

AIM : Display month name using When.

image

AIM : By using a user defined function perform all arithmetic operations.

image

AIM : Find the factorial of number by recursion. Explain "tailrec" keyword.

image

AIM : Create different types of Array as shown in image. Explore Arrays.deepToString(), contentDeepToString() methods, IntArray variable .joinToString() and use in program to print Array. Explore range, downTo, until etc. for loop and use in this program. Sort Array of Integer data type without using inbuilt function & with using inbuilt function.

image

AIM : Find the max number from ArrayList.

image

AIM : Write Different types of Class & Constructor. Create a class Car and set various members like type, model, price, owner, milesDrive. add the function getCarPrice in it. Create an object of Car class and access property of it. (getCarInformation(), getOriginalCarPrice(), getCurrentCarPrice(), displayCarInfo() etc.)

image

AIM : Write about Operator Overloading. Perform Matrix Addition, Subtraction & Multiplication using Class Matrix & operator overloading. Overload toString() function in Matrix class.

image

image

About

This is a repository in which i'm doing my MAD practicals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages