Journey of DLithe Bootcamp JAVA Full Stack Developer||Week5(April18-April23)

18–04–2022

The day started with a fresh mind. Shankar started the java concept.

How to create a String object?

There are 2 ways to create a String object:

  1. By string literal: String s1=” Swapna”;
  2. Use new keyword: String s= new String(“Swapna”);

String Methods

  1. charAt()
  2. concat()
  3. contains()
  4. equals()
  5. valueOf()
  6. booleanequals()
  7. equalsIgnoreCase()
  8. format()
  9. getChars()
  10. stringintindexOf()
  11. length()
  12. startsWith()
  13. subSequence()
  14. toLowercase()
  15. trim()

Interface

An interface in Java is a blueprint of a class. It has static constants and abstract methods.

The interface in java is a mechanism to achieve abstraction. There can be only abstract methods in the Java interface, not the method body. It is used to achieve abstraction and multiple inheritances in Java.

How to create interface in IntelliJ

Abstract Method

A method without a body is known as an abstract method.

  1. Marker Interface
  2. Functional Interface

19–04–2022

The day started with some discussion Arun gave the information about

  1. Agile Methodology

JRE Tool

Later Shankar join and started fillers of oops concept

  1. Encapsulation
  2. Abstraction
  3. Inheritance
  4. Polymorphism

1. Encapsulation:-(Hiding Necessary data) Binding the data where the class members are declared private and controlled access is given by using getters and setters.

2. Abstraction:- Is the process of hiding details and showing only implementation to the user.

3. Inheritance:-Inheritance the process of one class inheriting the properties of another class.

.Single Inheritance

.Multilevel Inheritance

.Hierarchical Inheritance

  • method overloading
  • Method overriding

20–04–2022

Today Shankar conduct one surprise technical activity. It’s related to logical thinking of the coding part.

Post lunch some team members gave the presentation.

After the presentation, Shankar gave the information about git. How to push and commit the code all things he will explain. Next is taught about Exception Handling.

Exception Hierarchy

Exception:-Unexcepted or Unwanted Scenario.

21–04–2022

The day started with a standup meeting and later Shankar revise the Exception Handling.

  1. try & catch, finally
  2. throw
  3. throws

22–04–2022

Collection Framework

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How To Install Mautic (Email Marketing Software) Guide

Test automation 101

Using Python libraries to beat APIs

The Scrum Product Owner Overview

Life is a journey of twists and turns, peaks and valleys, mountains to climb and oceans to explore.

Theme and asset management for laravel

How to make Animated GIF from SVG: ‘Shishi — Lion Dance’

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Swapna kochrekar

Swapna kochrekar

More from Medium

Headfirst Java Chapter 05 summary|Extra-Strength Methods

What is Java Virtual Machine?

Extra-Strenght Chapter 5

JAVA File Handling