Piyush Srivastava

Piyush Srivastava

7
Java Tutorial

Java Tutorial

2514 XP
Open Course Leaderboard

My Courses

Java Tutorial

2514 XP

C Tutorial

1679 XP

C++ Tutorial

692 XP

Python 3 Tutorial

210 XP

HTML Fundamentals

320 XP

SQL Fundamentals

71 XP


My Java Codes

oddoreven without modulus operator

Last Modified: 05/20/2020 09:47:37

1

finding no repetitive elemwnt from array.

Last Modified: 05/09/2020 14:46:14

2

Xor without Xor

Last Modified: 05/06/2020 15:09:43

3

HashMap(Linked HashMap)-2

Last Modified: 05/05/2020 09:14:38

1

HasMap-1.

Last Modified: 05/05/2020 09:13:33

2

subsetsum

Last Modified: 04/24/2020 07:37:45

1

equal sum partition.

Last Modified: 04/24/2020 07:35:23

1

0/1knapsack uding dynamic programmic

Last Modified: 04/21/2020 20:38:23

0

0/1 knapsack problem( using recursion).

Last Modified: 04/21/2020 19:50:21

0

multithreading background threads.

Last Modified: 04/18/2020 09:34:41

0

Multithreading in java -sleep method(part-2)

Last Modified: 04/10/2020 15:24:06

1

Multithreading in java part-1

Last Modified: 04/09/2020 20:01:03

0

password validator

Last Modified: 03/25/2020 08:25:53

1

pattern right angle star.

Last Modified: 03/06/2020 15:18:56

3

static and instance execution conyrol flow

Last Modified: 03/05/2020 18:08:30

2

static execution flow from parent to child class.

Last Modified: 03/04/2020 19:39:09

2

long dat type core java basics.

Last Modified: 03/04/2020 04:33:05

1

transformable string

Last Modified: 02/29/2020 11:02:21

0

reverse a string in java .

Last Modified: 02/27/2020 05:26:32

0

String vs StringBuffer -1

Last Modified: 02/21/2020 06:12:13

0

String vs StringBuffer -2

Last Modified: 02/21/2020 06:11:41

0

mutability vs immutability

Last Modified: 02/20/2020 16:08:51

0

Class.forName method and newInstance method in java .

Last Modified: 02/17/2020 08:08:14

1

for loop possible case .

Last Modified: 02/12/2020 07:37:18

1

chained assignment operator.

Last Modified: 02/10/2020 18:23:31

1

explicit nature

Last Modified: 02/10/2020 17:43:22

2

Biwise vs short-circuit operator.

Last Modified: 02/10/2020 13:04:52

1

bitwise operator.

Last Modified: 02/09/2020 15:16:15

3

+ as a concatenation and addition.

Last Modified: 02/07/2020 18:30:41

3

Infinity Magic

Last Modified: 02/07/2020 18:11:42

1

using input and output stream to read a string .

Last Modified: 01/28/2020 19:27:28

5

Objecttype casting (Scenario 4)

Last Modified: 01/26/2020 19:40:44

3

Object type casting(Scenario 3)

Last Modified: 01/26/2020 19:26:01

1

Object type casting (Scenario 2)

Last Modified: 01/26/2020 19:16:52

1

Object type casting (scenario1)

Last Modified: 01/26/2020 19:04:31

1

object type casting in java

Last Modified: 01/26/2020 18:49:46

1

java variable example (Overflow).

Last Modified: 01/26/2020 17:19:42

1

finding n prime no.

Last Modified: 01/23/2020 09:51:36

1

average using array.

Last Modified: 01/22/2020 11:11:05

1

tower of hanoi in java

Last Modified: 01/06/2020 09:50:04

2

wow new thing .

Last Modified: 10/26/2019 05:33:36

3

remove spaces from strings

Last Modified: 10/11/2019 15:44:49

3

null pointer exception

Last Modified: 10/01/2019 04:38:41

2

Arithmetic exception in java

Last Modified: 10/01/2019 04:06:28

2

find ascii value of a char

Last Modified: 09/09/2019 15:12:24

2

reverse a string

Last Modified: 09/07/2019 17:22:54

6

comparison

Last Modified: 09/07/2019 06:25:30

2

binary sum.

Last Modified: 09/05/2019 12:48:31

3

treeset simple intro in java

Last Modified: 08/30/2019 13:10:43

5

cursor-2 iterator in java.

Last Modified: 08/30/2019 07:52:42

1

cursor 1- enumeration in java

Last Modified: 08/30/2019 04:50:11

3

linkedlist in java.

Last Modified: 08/29/2019 17:46:02

2

generic class in java

Last Modified: 08/26/2019 09:12:16

2

generic method in java

Last Modified: 08/26/2019 05:20:31

2

anonymous class in java

Last Modified: 08/25/2019 18:12:56

2

threads using thread class in java .

Last Modified: 08/23/2019 17:18:54

6

threads in java

Last Modified: 08/23/2019 08:49:00

2

ATM software mechanism.

Last Modified: 08/22/2019 05:37:34

3

arithmetic exception in java

Last Modified: 08/22/2019 05:15:29

2

getting substrings from string.

Last Modified: 08/21/2019 10:30:58

5

stepsfor comparisons of strings .

Last Modified: 08/21/2019 10:18:48

3

indexof in java

Last Modified: 08/21/2019 10:00:35

2

uppercase and lowercase in java

Last Modified: 08/21/2019 09:25:42

2

comparisons of strings in java

Last Modified: 08/21/2019 08:51:57

2

distinct length feature in java.

Last Modified: 08/21/2019 08:30:39

1

array 2-D

Last Modified: 08/21/2019 08:19:53

1

interface in java

Last Modified: 08/20/2019 13:01:51

1

suspicious output.

Last Modified: 08/20/2019 12:14:16

6

constructor chaining.

Last Modified: 08/19/2019 13:52:41

2

using super keyword to invoke parent class constructor.

Last Modified: 08/19/2019 13:10:46

2

constructor calling constructor.

Last Modified: 08/19/2019 13:04:34

3

remove this keyword and see magic.

Last Modified: 08/19/2019 06:26:12

2

initializationblock in java

Last Modified: 08/18/2019 17:50:06

2

multi-level inheritance

Last Modified: 08/18/2019 16:48:16

3

get and set

Last Modified: 08/18/2019 10:10:53

5

java program for reference variable which called as object in c++.

Last Modified: 08/16/2019 14:35:33

3

deletion of a node with the help of key in single linked list

Last Modified: 06/23/2019 17:49:52

2

implementation of single linkedlist in java adding a node

Last Modified: 06/22/2019 17:47:24

3

finding factorial of a no.

Last Modified: 03/02/2019 12:05:11

3

to check wheather a no. is prime or not.

Last Modified: 02/07/2019 15:45:13

2

getters and setters simple program.

Last Modified: 01/22/2019 04:48:34

5

prefix operation

Last Modified: 01/20/2019 14:33:50

5


My Certificates

Python 3 Tutorial
Python 3 Tutorial
Issued: 31 March, 2020
C++ Tutorial
C++ Tutorial
Issued: 08 September, 2019
SQL Fundamentals
SQL Fundamentals
Issued: 28 February, 2019
C Tutorial
C Tutorial
Issued: 15 January, 2019

Achievements

Solver
Solver
Solve a code coach problem
Developer
Developer
Get 10 upvotes on your code
Hat Trick
Hat Trick
Complete 3 courses
Coder
Coder
Post 5 codes with at least 5 upvotes each
Code Master
Code Master
Post 10 codes with at least 5 upvotes each
freeCodeCamp
freeCodeCamp
Connect your freeCodeCamp account from the app Settings
Junior
Junior
Get 5 upvotes on your code
Good Answer
Good Answer
Get 5 upvotes on your answer
Unstoppable
Unstoppable
Win 100 challenges using one weapon
Asker
Asker
Post a question and get an upvote
Master
Master
Win 50 challenges using one weapon
The Player
The Player
Complete 100 challenges using one weapon
Challenge Master
Challenge Master
5 flawless victories in a row using one weapon
Answerer
Answerer
Post an answer and get an upvote
Rising Star
Rising Star
Win 5 challenges in a row using one weapon
Gaining Experience
Gaining Experience
Complete 50 challenges using one weapon
On Your Way to Fame
On Your Way to Fame
Flawless victory in a challenge
Just Getting Started
Just Getting Started
Win a challenge
Achiever
Achiever
Complete a course
Intern
Intern
Post a code and get an upvote
Engaged in!
Engaged in!
Complete a lesson
Verified Account
Verified Account
Verify your account's email address
Moderator
Moderator
Awarded to members who have been selected by our moderation team to help moderate community content.
Gold Moderator
Gold Moderator
Awarded to select Moderators who show expertise in moderation and are ready for the next level of responsibilities.
Quiz Reviewer
Quiz Reviewer
Exclusive badge, handed out to community members who moderate user-generated quizzes.
Gold Quiz Reviewer
Gold Quiz Reviewer
Exclusive badge, handed out to experienced Quiz Reviewers who show expertise in moderation of user-generated quizzes.
Creator
Creator
Create 10 SoloLearn-approved lessons in the Lesson Factory.
Creator Master
Creator Master
Create 50 SoloLearn-approved lessons in the Lesson Factory.
Platinum Moderator
Platinum Moderator
Awarded to experienced moderators who are ready to recruit and train new moderators and curate community content.
Solution Master
Solution Master
5 code coach solutions
Solution Ninja
Solution Ninja
10 code coach solutions
Solution Guru
Solution Guru
50 code coach solutions
Code Ninja
Code Ninja
Post 50 codes with at least 5 upvotes each
Quiz Creator
Quiz Creator
Create 20 SoloLearn-approved quizzes in the Quiz Factory.
Quiz Creator Master
Quiz Creator Master
Create 100 SoloLearn-approved quizzes in the Quiz Factory.
Senior Developer
Senior Developer
Get 50 upvotes on your code
Practice Makes Perfect
Practice Makes Perfect
Win 200 challenges using one weapon
Guru
Guru
Win 500 challenges using one weapon
Good Citizen
Good Citizen
Leave a comment in a lesson/quiz
Respected Citizen
Respected Citizen
Reply to a comment in a lesson/quiz and get 5 upvotes
Course Master
Course Master
Complete 10 courses
Respect!
Respect!
Complete 500 challenges using one weapon
Unbeatable!
Unbeatable!
Win 10 challenges in a row using one weapon
Epic!
Epic!
Win 50 challenges in a row using one weapon
Good Question
Good Question
Get 5 upvotes on your question
Great Question
Great Question
Get 10 upvotes on your question
Top Question
Top Question
Get 50 upvotes on your question
Popular Question
Popular Question
Get 100 upvotes on your question
Question Master
Question Master
Post 5 questions with at least 5 upvotes each
Question Ninja
Question Ninja
Post 10 questions with at least 5 upvotes each
Question Guru
Question Guru
Post 50 questions with at least 5 upvotes each
Great Answer
Great Answer
Get 10 upvotes on your answer
Top Answer
Top Answer
Get 50 upvotes on your answer
Popular Answer
Popular Answer
Get 100 upvotes on your answer
Teacher
Teacher
Post 10 answers with at least 5 upvotes each
Illuminator
Illuminator
Post 50 answers with at least 5 upvotes each
Self-Learner
Self-Learner
Answer your own question and get 5 upvotes
Contributor
Contributor
Leave a comment in a lesson/quiz with 5 upvotes
Comment Master
Comment Master
Leave 5 comments in a lesson/quiz with at least 5 upvotes each
certificate
Share Load