Inheritance in java
What is Inheritance in java? Inheritance is an important part of Object-Oriented Programming (OOP) languages. Inheritance is a mechanism where one class acquires all the properties and behaviors (methods and fields) of another class is called Inheritance. We use extends Keyword to inherit the properties of one class to another class. Using the extends keyword, …. Read More
Interface Class in Java.
What is the interface in java? Interface in java is one of OOP’s concepts. The interface in java is a mechanism to achieve 100% abstraction. The interface provides achieve 100% abstraction because it uses only abstract methods (not method body). An interface can be used only abstract methods (without body), before java 8. After …. Read More
Abstract Class and Abstraction in Java.
We are going to discuss the abstract class. Before learning the Java abstract class, we are going to discuss the Abstraction and Abstract method. What is Abstraction in Java? Abstraction is a process of hiding the implementation details and showing only functionality to the user. The main purpose of abstraction is to hide the …. Read More
Polymorphism in Java
What is Polymorphism in java? Polymorphism is one of the OOPs features, it allows us to perform a single action in different ways. Polymorphism word comes from 2 Greek words poly and morphs, Poly means many and morphs means forms. That’s why can say polymorphism means many forms. In the above example …. Read More
Class, Object and Method in Java.
We are going to discuss classes and object, when you talk about Java then class and object are a very important part of the Java. Class and object are concepts of oops. we are going to discuss what is class and object, what are used, and where we use. We are also talking …. Read More
Common Java Interview Questions
In almost all interview these programming questions are asking by interviewer. 1. Check Number is Prime number or not. 2. Reverse number in java. 3. Remove Duplicates number. 4. Check Palindrome Number. 5. Missing Number from Array. 6.Fibonacci Series. Fibonacci series without Recursion. Fibonacci series with Recursion. …. Read More
Top 5 string programming interview questions in java
In almost all interview these programming questions are asking by interviewer. 1. Find Duplicate Characters from string 2. Check String is Palindrome or not We are Checking String is Palindrome or not Using String Buffer. Checking string is Palindrome without using StringBuffer or StringBuilder 3. Find duplicates words 4. Remove …. Read More
Uploading files and images to AWS S3 Bucket using java in Spring Boot Application
1. Create AWS account You can create it here After creating AWS account you are getting accessKey and secretKey. 2. Create S3 bucket Create S3 bucket name. 3. Create Spring Boot project Add amazon Maven dependency in pom file. 4 . application.yml file Add all add s3 bucket details like bucket name, …. Read More