- Basic Calculator in Java
- Arrays in Java
- Method Overloading
- Constructor Overloading
- Add Two Numbers using Scanner
- How to Use static keyword in java. It's notes is given in "Static.java" .
- How to Use Static keyword using static block, constructors and methods in java. Check the code in "Static1.java" .
- How to create a Inner class in outer class and how to access the inner class of outer class by creating the objects in main method. You can find code in "InnerDemo.java" .
- Getting user input using Scanner and nextLine() for String input are running the code. You can find the code in "GettingUserInput.java".
- How to initialise the variables in Java, refer the code in "Variables.java".
- Array 1D demo in "ArrayDemo1.java"
- 2D and Jagged Array demo in "ArrayDemo2.java".
- How Enchanced for loop works in Java. Example in "EnhancedForInArrays.java".
- Variable length Argument example in Java. Sample code in "VarargsDemo.java".
- Multilevel Inheritance demo in "InheritanceDemo.java".
- How Super method works in the concept of Inheritence. The example code is in "SuperDemo.java".
- Dynamic Method Dispatch in the concept of Polymorphism. the code is in OverridingDemo.java.
- Encapsulation model code and how to bind the data to the methods and how to use setters and getters. sample code is in "EncapsulationDemo.java".
- example problem on encapsulation. code is in "EncapsulationDemo2.java".
- Wrapper Class demo and how to use Auto Boxing , Auto Unboxing and Boxing and Unboxing / Wrapping. How to use "praseInt()" to get the intger value of a string. Sample code is in "WrapperClassDemo.java".
- Abstract class usage and how to use a methods. Sample code is in "AbstractDemo.java".
- How to use super class and avoid using more methods instead of using more methods we can use abstract and sample code is in "AbstractDemo2.java".
- how to create Interface and how to use implements and how to achieve the things in interface. sample code is in "InterfaceDemo.java".
- How to create a object in interface using interface as a reference and implemnents as object. sample code is in "InterfaceDemo2.java".
- Anonymous Inner Class sample code is availabe in "AnonymousInnerClassDemo.java".
- Functional Interface and using lambda expression in java. sample code is in "FunctionalInterfaceDemo.java".
- Default method in interface and how it can be overridden and sample code is in "DefaultMethodDemo.java".
- How to solve ambigity issue in Multiple inheritance in Interface. Sample code is in "IssueWithMultipleInheritanceInInterface.java".
- Unchecked exceptio handling using try catch. sample code is in "ExceptionDemo.java".
- Multiple Catch Exception. We can use multiple catch and at the last it should be exception e. sample code is in "MultipleCatchException.java".
- Without using try, catch and finally how to throw the exception using only try block with different syntax. Sample code is in "UserInputThrowException.java".
- How to give user Defined exception in java. sample code is in "UserDefinedException.java".
jagadabichandrasekharvarma / java-codes Goto Github PK
View Code? Open in Web Editor NEWJava codes what ever I am learning for my placement and which I fell important I will be commiting the code here.
License: MIT License