JavaWith.NextlevelCoders
الذهاب إلى القناة على Telegram
إظهار المزيد
434
المشتركون
+124 ساعات
لا توجد بيانات7 أيام
لا توجد بيانات30 أيام
أرشيف المشاركات
Which method is used to check if two comparators are equal?
Which method of the Comparator interface compares two objects and returns an integer value?
And comment down with their specific content needs, and I'll do my best to provide or guide them to the relevant resources!
Q. Why is Java a platform independent language?
Ans : Java language was developed in such a way that it does not depend on any hardware or software due to the fact that the compiler compiles the code and then converts it to platform-independent byte code which can be run on multiple systems.
The only condition to run that byte code is for the machine to have a runtime environment (JRE) installed in it.
👨💻 SQL Quiz
Which SQL keyword is used to remove duplicate records from a result set?
A. UNIQUE
B. DISTINCT
C. DIFFERENT
⬇️ Guess the correct option in the comments!
*Credflow is hiring SDE MERN Intern.*
Skills - Javascript, NodeJS, ReactJS, Express, MongoDB, RDBMS, and DS Algo
Duration - 6 months
Location - Noida (in-office)
Stipend: 20-25k/month (6-9 LPA post successful completion of internship based on performance)
Credflow LinkedIn page - https://www.linkedin.com/company/credflow/
After you fill the form, you'll get the test link on your email ID.
Deadline to attempt the test is Monday 1st July 11:59 pm.
Apply now - https://tally.so/r/wzzaNa
Internship at Bosch Global Software Technologies.
Eligibility : M.E/MTech/Dual Degree 2025 passout batch
Internship Location: Any of the 4 BGSW Locations - Bangalore, Coimbatore, Hyderabad, Pune.
Internship Duration: 6 months - 11 months (Based on Academic policy)
Deadline to apply - 4th July 2024
Link to Apply - https://lnkd.in/g-9QrZ_P
What happens when a method returns an object in a class annotated with @RestController?
Which annotation is specifically designed for building RESTful APIs?
Which annotation is used for handling web requests and returning views?
Q. Difference between @Controller and @RestController annotation ?
@Controller and @RestController are both annotations in Spring Boot, but they serve slightly different purposes:
**@Controller:**
==============================
- Indicates a class is a web request handler (e.g., a servlet).
- Typically used for handling web requests and returning views (e.g., HTML pages).
- Methods can return various types, including strings, views, and objects.
- Does not automatically convert return values to JSON or other formats.
**@RestController:**
==============================
- A specialized version of @Controller for building RESTful web services.
- Automatically converts return values to JSON or other formats (using HTTP message converters).
- Methods can return objects, which are automatically serialized to JSON or other formats.
- Implicitly assumes the handling of HTTP requests and respIn summary:mmary:**
- **@Controller** is for handling web requests and returning views or other types of responses.
- **@RestController** is specifically designed for building RESTful APIs and automatically converts return values to JSON or other formats.
- When building a RESTful API, use @RestController to simplify the process and leverage automatic conversion features.
- For handling web requests and returning views, use @Controller.Full stack web development
https://drive.google.com/drive/folders/1n_bVmiHFZVGBKP-6bI3hvuqytxoykh_Q
𝗖𝗼𝘃𝗲𝗿 𝗧𝗼𝗽𝗶𝗰𝘀 𝗶𝗻 𝘁𝗵𝗶𝘀 𝗗𝗿𝗶𝘃𝗲 ⬇️
⏺ HTML
⏺ CSS
⏺ javascript
⏺ Bootstrap
⏺ JQuery
⏺ ReactJs
⏺ API (RESTFul api)
Must open this drive and start learning
(Jada idhar udhar mat bhagiye ikk chiz ko pakad kr usko complete kriye
Phele)
https://youtube.com/@codingdrawrun?si=PHs6nEU-AfOM6aIv
👨💻 Java Coding Challenge
A. true
B. false
C. null
⬇️ Guess the code output in the comments!
🧑💻 Java Quiz
What is the purpose of the toString() method in Java?
A. To convert an object to a primitive data type.
B. To compare two objects for equality.
C. To return a string representation of an object.
D. To throw an exception if an object is null.
⬇️ Guess the correct option in the comments!
==============================
𝐈𝐍𝐓𝐄𝐑𝐕𝐈𝐄𝐖 𝐐𝐔𝐄𝐒𝐓𝐈𝐎𝐍
==============================
Q. What is difference between Break and Continue in Java ?
"Break" and "Continue" are both keywords in Java, used in loops and conditional statements.
"Break" is used to:
- Exit a loop or switch statement immediately
- Stop executing the current block of code
- Transfer control to the next statement after the loop or switch
"Continue" is used to:
- Skip the current iteration of a loop
- Move to the next iteration of the loop
- Only execute the next statement if the condition is true
In other words:
- "Break" says "Stop here and get out!"
- "Continue" says "Skip this iteration and move to the next one!"
≠=============================
LEARN 2MIN ONLY
==============================
👨💻 Java Quiz
Which collection class in Java does not allow duplicates?
A. ArrayList
B. HashSet
C. LinkedList
⬇️ Guess the correct option in the comments!
👨💻 Java Coding Challenge
A. NPE
B. 0
C. no output
⬇️ Guess the code output in the comments!
