Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update#3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
NIRAV-13 wants to merge1 commit intosathishmepco:master
base:master
Choose a base branch
Loading
fromNIRAV-13:Refactoring_Update_2

Conversation

NIRAV-13
Copy link

Changes made that will make Java Interview program less errorless, readable and Understandable

CollectionsDemo.java
(Methods distributed to make it more understandable)

1). synchronizedCollection()
2). singletonCollection()
3). replaceAndShuffle()
4). immutableCollection()
methodCalling() will make call to each methods

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

CollectionsDemo.java
(Rename Variable)

indexList from iList as list indicates the index of the List that is intialized(line 54).

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

Code Error removed from snippet.java
(divisor string was written which was creating error in the code of package collectionsutils)

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

LinkedListDemo.java
(Rename)

variable named FirstElement from firstElt
variable named lastElement form lastElt
variable named ElementAtZero from eltAtzero
variable named element from elt

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

EncryptionDecryption(package)
AESEncryption.java(Extract Class)

A class has been created named encryptdecrypt which will also move fields.

Note:- (Output has been check initially(before changes) and at Commiting (After changing code) both remains the same).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@NIRAV-13

[8]ページ先頭

©2009-2025 Movatter.jp