CodingInfoπŸ‘¨πŸ»β€πŸ’»β˜•οΈ
9.15K subscribers
83 photos
6 videos
152 files
92 links
JOIN NOW FOR ⬇️

✍️ Questions and Answers
πŸ“˜ Free Notes
πŸ“š Books & Resources
πŸ’Ό Job Opportunities
πŸš€ Exclusive Tips & Freebies
🌐 Stay Updated on the Latest

FOLLOW US ON INSTAGRAM β¬‡οΈπŸš€
https://instagram.com/coding.genius

#code #ai #tech #programming
Download Telegram
1πŸ”₯2πŸ‘1🀣1
Java Programming QuizπŸ‘¨πŸ»β€πŸ’»β˜•οΈ
#quiz
❀1πŸ”₯1
Which of the following is NOT a valid access modifier in Java?
Anonymous Quiz
17%
private
19%
protected
64%
global
πŸ‘4πŸ”₯1
What is the size of an int in Java?
Anonymous Quiz
57%
8 bits
18%
16 bits
25%
32 bits
πŸ‘2
Which of the following is the correct way to declare a constant variable in Java?
Anonymous Quiz
36%
constant int x = 10;
44%
final int x = 10;
20%
int final x = 10;
πŸ”₯2❀1
Which of the following can lead to a StackOverflowError in Java?
Anonymous Quiz
31%
Infinite recursion
43%
An excessively large object heap
25%
A deadlock situation between threads
❀1
10 Remote IT Job SitesπŸ‘¨πŸ»β€πŸ’»πŸ’Ό

These sites will help you find your dream job, working from homeπŸ πŸ‘Œ

Angel.co
Remote.co
Remoteok.io
Remotive.io
Flexjobs.com
Justremote.co
Remotefront.io
Powertofly.com
Skipthedrive.com
Virtualvocations.com

#joboffers
πŸ‘6πŸ”₯2❀1
--- Git Commands ---

πŸ—οΈ git init | Initialize a new Git repository
πŸ”„ git clone <repo> | Clone a repository
πŸ“Š git status | Check the status of your repository
βž• git add <file> | Add a file to the staging area
πŸ“ git commit -m "message" | Commit changes with a message
πŸš€ git push | Push changes to a remote repository
⬇️ git pull | Fetch and merge changes from a remote repository

--- Branching ---

🌿 git branch | List branches
🌱 git branch <name> | Create a new branch
πŸ”€ git checkout <branch> | Switch to a branch
πŸ”§ git merge <branch> | Merge a branch into the current branch
πŸ”„ git rebase <branch> | Reapply commits on top of another base branch

--- Undo & Fix Mistakes ---

πŸ”™ git reset --soft HEAD~1 | Undo last commit but keep changes
🚫 git reset --hard HEAD-1 | Undo last commit and discard changes
βͺ git revert <commit> | Create a new commit that undoes changes from a specific commit

--- Logs & History ---

πŸ“œ git log | Show commit history
🌐 git log --oneline --graph --all | Pretty graph of commit history

--- Stashing ---

πŸŽ’ git stash | Save changes without committing
🎭 git stash pop | Apply stashed changes and remove them from stash

--- Remote & Collaboration ---

🌍 git remote -v | View remote repositories
πŸ“‘ git fetch | Fetch changes without merging
πŸ•΅οΈ git diff | Compare changes

#techinfo
❀2πŸ‘2πŸ™2πŸ”₯1
Python Programming QuizπŸ‘¨πŸ»β€πŸ’»
#quiz
❀3πŸ”₯1
What is the correct way to define a class in Python?
Anonymous Quiz
58%
def MyClass:
10%
new MyClass:
32%
class MyClass:
πŸ‘2πŸ”₯2
What is the output of print(3 * 'abc')?
Anonymous Quiz
13%
abc*3
27%
Error
60%
abcabcabc
❀2πŸ‘1😭1
How do you create an empty set in Python?
Anonymous Quiz
43%
set()
37%
{}
20%
[]
❀3πŸ‘1😭1
What is the default return value of a function that does not return anything explicitly?
Anonymous Quiz
26%
False
46%
None
28%
0
πŸ‘2πŸ”₯2
What will print(10 % 3) output?
Anonymous Quiz
28%
3
62%
1
10%
0
πŸ”₯2❀1πŸ‘1😭1
What data type is the result of 3 / 2 in Python?
Anonymous Quiz
19%
double
20%
int
61%
float
❀3πŸ‘3😭1
Which method is used to remove an item from a list by value?
Anonymous Quiz
42%
pop()
55%
remove()
3%
discard()
πŸ”₯3❀1😭1
How do you check if a key exists in a dictionary?
Anonymous Quiz
29%
key in dict
39%
dict.has_key(key)
33%
exists(dict, key)
❀2😭2πŸ‘1