JAVA BASICS FOR COMPETITIVE PROGRAMMING IN 7 DAYS

Everything You Need To Know In Java To Get Started With Competitive Programming

JAVA BASICS FOR COMPETITIVE PROGRAMMING

ABOUT THE COURSE

  • Starting from know-nothing
  • Ultimate goal: competitive programming
  • Tips & Tricks
  • New Things To Learn Even If You Know
  • Hands-on
  • Focussed & Minimalistic

PRE-REQUISITES

  • Java Installed
  • Eclipse Installed

HOW TO CREATE YOUR FIRST PROGRAM

  • Creating New Project
  • Creating New File
  • Writing Your First Program
  • Where To Focus
  • Learning About Comments
  • Dealing With Errors In Code
  • Hands-on Assignments

HOW TO STORE INFORMATION

  • What Are Datatypes
  • Text (String)
  • Numbers
  • Booleans

HOW TO COMMUNICATE TO USER

  • How To Show Stored Information
  • Printing Strings
  • Printing Numbers
  • Printing Booleans
  • Mixing Up With String
  • Mixing Up Variables
  • Printing Empty Lines
  • Avoiding New Line
  • Printing Multiple Lines
  • Hands-on Assignments

HOW TO PROCESS INFORMATION

Operating On Integers

Creating Variables
Add
Subtract
Divide
Multiply
Printing result
Printing & Operating Without Variables
Mixing Variables With Values
Precedence Order
Associativity

Operating On Booleans

Creating Variables
And Operation
Or Operation
More-than-2 Variable Operations
Printing result
Using Brackets

Operating On Strings

Creating Variables
Concatenation
charAt
substring
substring(second method)
startsWith
toUpperCase
toLowerCase
trim
contains
compareTo
split
Printing With Loop
Using Java Oracle Docs

Hands-on Assignment On Operations

READING INFORMATION

Reading From User

How
br.readline
importing
exception
Focusing On Just Important Stuff
Hands-on Assignment

How To Read With Command Line

args[] in public static void main
Running As Configuration In Java
Importance Of Counting From 0
Hands-on Assignment

How To Interconvert Strings

Converting String To Other Datatype
Reading Integers From User
Reading Double From User
Reading Boolean From User
Hands-on Assignment

CONDITIONALS & DECISION-MAKING

Motivation For Conditionals

Importance Of Conditionals
Main Use Of Booleans

If Statements

If Statement
Multiple If Statements
Else If Statements
Else Statement
Nested Statements

Question Mark Operator

Switch In Java

Meaning: Pattern Matching
Importance Of Break
Comparison With If

Hands-on Assignments

HOW TO REPEAT CODE WITHOUT MANUALLY COPY-PASTING - LOOPING

Introduction To Looping
Why Can't Do Without Loops
Pseudo-code/Meaning Of Loop
Stopping Condition
While Loop
For Loop
Do-while Loop
Risk Of Infinite Loop
Comparison Between While, For & Do-While Loops
Hands-on Assignment

CREATING CODE RECIPES & USING IT - FUNCTIONS

Motivation For Functions

Functions As Naming Code & Referring It
Meaning Of Functions
Why Functions Are Needed

Parts Of Function

Input
Name
Output
Body
Calling

Main function

Everything Begins From Main
Seeing Main As Function
Keeping Functions Static

Hands-on Assignment

HOW TO CREATE YOUR OWN DATATYPES IN JAVA - CLASSES

Motivation For Class

Meaning Of Class
Why Creating Own Datatype - Storing Info In Group

Simple Class

Adding Sub-datatypes
Separate File For Class
Using Driver Class For Using New Datatype
Creating New Object
Accessing Variables Of New Object

Using Constructor

Why Needed?
How To Create Constructor?
Using Constructor

Adding Functions/Methods In Class

Why Need Functions?
How To Create?
How To Call Them?
Functions In Class As Non-Static

Multiple Constructors

Passing All Variables In Constructor
Can't Use Empty Constructor Now

Some Miscellaneous Stuff

How To Use Empty Constructor?
Changing Value Of Class Variables

Private & Public

Why Make Data Private?
How To Make Data Private?
How To Access Private Data Then / Importance Of Public Methods
How To Create Public Access Methods?
How To Create Public Methods For Updating?

Hands-On Assignments

GOING TO NEXT LEVEL

Practice, Practice & Practice
Getting Started With Competitive Websites
First Code On Codingbat
First Code On Codechef
Other Websites
Instructions For Accelerating Your Career After The Course

BONUS CONTENT

Tips On How To Learn Basics Of Any Language, Just Like Java
Summaries Of Content
Tips & Tricks For The Mind To Study Better
Access To Continued Mentoring By Akshaya


Your Instructor


Akshaya Nim
Akshaya Nim

Akshaya is the cofounder of Nimaesters Solutions, where he helps people code their mind and also their softwares for success. Graduated as an IIT Delhi Computer Science B.Tech and being certified and trained in numerous mystic sciences and mind training techniques, he stands out as a novel coach. He uses his analytical side for simplifying things and mystic ways of empowering students. Previously, he has worked at companies such as Amazon, Paytm and other startups.
He also had a short stint teaching at IIT Delhi during his MS(R). Students both from IT domain and otherwise, love his unique way of learning. Come learn with him.


Get started now!