











Java Tutorial


PrepInsta Java Tutorials Online Course
Java Tutorials by Prepinsta is curated in a way to let students learn JAVA from the very basics. We have kept this thing in mind that even if you are a non CS-IT student, or you are new to coding and want to start with learning JAVA as your preferred programming language or if you are an experienced coder and you have enough knowledge about coding and want to add JAVA as one more coding language in your side than also you can start learning from this course. It starts from the very basics of coding and goes to all the advanced topics that you will be needing for your preparation.


OOPs in Java
- Polymorphism in java
- Encapsulation in java
- Abstraction in Java
- Inheritance in java
- Class
- Class Fundamentals
- Objects in java
- Creating and Operating Objects
- Static member and scope
- Wrapper Classes
- Method Overriding
- Method Overloading
- Interface in Java
- Getter/setter in Java
- Constructor in Java
- Use of constructor
- New operator
- Static Variable
ArrayList in Java
- ArrayList toString() Method
- ArrayList lastIndexOf() Method
- ArrayList replaceAll() Method
- ArrayList Iterator() Method
- ArrayList add() Method
- ArrayList addAll() Function
- Arraylist Clear() Function
- Arraylist Clone() Function
- ArrayList contains() Method
- ArrayList containsAll() Method
- ArrayList ensureCapacity() Method
- ArrayList forEach() Method
- Arraylist get() Method
- ArrayList IndexOf() Method
- ArrayList isEmpty() Method
- ArrayList remove() Method
- ArrayList removeall() Function
- ArrayList removeif() Function
- ArrayList removerange() Function






Math Method
- Math.abs()
- Math.log10()
- Math.max()
- Math.min()
- Math.multiplyexact()
- Math.nextafter()
- Math.nextdown()
- Math.negateexact()
- Math.nextup()
- Math.pow()
- Math.random()
- Math.rint()
- Math.round()
- Math.sin()
- Math.sinh()
- Math.sqrt()
- Math.subtractexact()
- Math.tan()
- Math.tanh()
- Math.todegrees()
- Math.tointexact()
- Math.toradians()
- Math.acos
- Math.addexact
- Math.asin
- Math.atan
- Math.atan2
- Math.cbrt
- Math.ceil
- Math.copysign
- Math.cos
- Math.cosh
- Math. decrement exact
- Math.exp
- Math.expm1
- Math. Floor
- Math. get exponent
- Math. hypot
- Math. ieee remainder
- Math. increment exact
- Math. log
- Math. log10
- Math. log1p
- Math. max
- Math. min
- Math. multiplyexact
- Math. negateexact
- Math. nextafter
- Math. nextdown
- Math. nextup
- Math. pow
- Math. rint
- Math. round
Library : HashMap






Example codes in Java
- Add matrix
- Add numbers
- Add two dates
- Alphabet
- Append text existing file
- Armstrong number
- Armstrong number function
- Armstrong number interval
- Array contains value
- Arraylist string conversion
- Average arrays
- Binary decimal convert
- Binary octal convert
- Binary search
- Binary tree implementation
- Boolean to string conversion
- Bubble sort
- Calculate methods execution time
- Calculate set difference
- Calculate set intersection
- Calculate set union
- Calculator switch case
- Call one constructor from another
- Capitalize first character of string
- Char string
- Char to int conversion
- Check birthday
- Check if two booleans are true
- Check if two strings are anagram
- Check string contains substring
- Check string numeric
- Check subset of a set
- Check valid shuffle of strings
- clear stringbuffer
- Compare strings
- Compute all string permutation
- Compute quotient remainder
- Concatenate two arrays
- Convert array set
- Convert byte array hexadecimal
- Convert file byte array
- Convert inputstream string
- Convert list array
- Convert map list
- Convert outputstream string
- Convert stack trace string
- Count leaf nodes of tree
- Count lines in file
- Create and write to file
- Create custom exception
- Create enum class
- Create immutable class
- Current date time
- Current working directory
- Delete directory
- Delete file
- Detect loop in linkedlist
- Determine os name
- Difference time
- Differentiate string equals
- Digits count
- Display alphabets
- Double to int conversion
- Double to string conversion
- Enum by string value
- Even odd
- Factorial
- Factorial recursion
- Factors number
- Fibonacci series
- Frequency character
- Gcd hcf recursion
- Generate random string
- Get class of object
- Get file extension
- Get file name from absolute path
- Get key from hashmap using value
- Get middle element of linkedlist
- Get relative path
- Graph implementation
- Hcf gcd
- Implement multiple inheritance
- Implement switch on strings
- Inorder tree traversal
- Int to char conversion
- Int to double conversion
- Int to long conversion
- Int to string conversion
- Iterate each string characters
- Iterate over arraylist
- Iterate over arraylist using lambda expression
- Iterate over enums
- Iterate over hashmap
- Iterate over set
- Join two lists
- Largest array
- Largest number three
- Lcm
- Leap year
- Linkedlist arraylist conversion
- Linkedlist array conversion
- Linkedlist implementation
- Long to int conversion
- Merge sort
- Merge two lists
- Milliseconds minutes seconds
- Multiplication table
- Multiply floating numbers
- Multiply matrix
- Multiply matrix function
- Octal decimal convert
- Palindrome number
- Pass Arraylist as function argument
- Passing method as argument
- Positive negative
- Postorder tree traversal
- Power number
- Power number recursion
- Preorder tree traversal
- Prime number
- Prime number function
- Prime number interval
Login/Signup to comment