ch
Feedback
JavaWith.NextlevelCoders

JavaWith.NextlevelCoders

前往频道在 Telegram
418
订阅者
无数据24 小时
-27 天
+1230 天
帖子存档
https://youtube.com/@codingdrawrun?si=5CYNjALYVRBODZ_m Subscribe Our YouTube channel for daily technical quizzes and Interview Questions GO Community section on youtube and solve daily Quiz Now I uploaded 'assert' keyword base 3/4 quiz go and choose Correct Option ⬆️⬆️⬆️⬆️⬆️⬆️

Q. What is assert keyword in Java ❓ The assert keyword is a debugging statement in Java that checks if a condition is true and throws an AssertionError if it's false. It's used to validate assumption and catch unexpected errors during development and testing.

Can the super keyword be used to access a subclass method from a superclass ❓
Anonymous voting

It is possible to use this keyword in a static method ❓
Anonymous voting

Select One ?
Anonymous voting

Q. When you pass an array to a method , the method receives____ ❓
Anonymous voting

OutPut of Task12 ⬇️⬇️
Anonymous voting

JOIN WhatsApp group for internship ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️ ============================== Students who all are joining the session will be getting the Participation Certificates & Chance to Grab Stipend Internship (upto 15k) Use below link to join the group and circulate the link in your class groups Group link : https://chat.whatsapp.com/IBlUB4uMaQo5JmDKILMrqi Once all the department students are joined we will post all the information in the group

👨‍💻 SQL Quiz Which SQL statement is used to remove a record from a table? A. REMOVE B. DELETE C. ERASE ⬇️ Guess the correct option in the comments!

Company Name : Zerodha Role : Backend Intern Batch : 2024 Link : https://careers.zerodhafundhouse.com/jobs/NYRKjkWrqkPN/backend-engineer-internship

I trying to get paid Internship for all students in this group

Must join 2nd , 3rd and 4th year students also passout students ❗

JOIN ➡️ WhatsApp group for internship ============================== Students who all are joining the session will be getting the Participation Certificates & Chance to Grab Stipend Internship (upto 15k) Use below link to join the group and circulate the link in your class groups Group link : https://chat.whatsapp.com/IBlUB4uMaQo5JmDKILMrqi Once all the department students are joined we will post all the information in the group

Students who all are joining the session will be getting the Participation Certificates & Chance to Grab Stipend Internship (upto 15k) Use below link to join the group and circulate the link in your class groups Group link: https://chat.whatsapp.com/Gt4hiL0fbkDI69rBmTmiNK Once all the department students are joined we will post all the information in the group

SQL Quiz 3 Q.Which keyword is used to group rows based on a common column value❓ A. GROUP BY B. HAVING C. ORDER BY Choose Correct Option ⬇️

SQL Quiz Q.Which keyword is used to filter rows based on a specific condition❓ A. SELECT B. FROM C. WHERE Choose Correct Option ⬇️

Q. What does the gc() Method ❓ The gc() method in Java is used to request the Java Virtual Machine (JVM) to perform garbage collection. Garbage collection is the process of automatically freeing up memory occupied by objects that are no longer needed or referenced in the program. When we call gc() then JVM performs the following tasks ⬇️ ============================== Identifies garba: The JVM identifies objects that are no longer referenced or needed in the programReclaims memory: The JVM reclaims the memory occupied by the identified garbage objectsCompacts memoryryry**: The JVM compacts the memory to remove any holes or gaps created by the garbage objects. EXAMPLE ============================== To call the gc() method in a Java program, you can use the following syntax: System.gc(); ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️ public class Main { public static void main(String[] args) { // Create some objectsts** Object obj1 = new Object(); Object obj2 = new Object(); // Nullify the referenceses** obj1 = null; obj2 = null; // Request garbage collectionon** System.gc(); // Continue with the programam** } } In this example, we create two objects obj1 and obj2, then nullify their references by setting them to null. We then call System.gc() to request garbage collection, which may reclaim the memory occupied by the two objects. Also, it's worth noting that you can also use Runtime.getRuntime().gc() to call the gc() method, but System.gc() is a more common and convenient way to do it. The gc() method is useful in situations where: ===Memory is low*Memory is low**: You can call gc() to free up memory when the program is Memory leaks: You can call gc() to help identify and fix memory. Performance optimizatione**: You can call gc() to optimize performance by reducing the number of garbage objects in memory. However, it's generally recommeJVM handle garbage collection automatically automatically**, as it is optimized to perform garbage collection efficiently. Explicitly calling gc() can sometimes lead to performance issues or interfere with the JVM's garbage collection algorithm.

Q. What does the gc() Method ❓ The gc() method in Java is used to request the Java Virtual Machine (JVM) to perform garbage collection. Garbage collection is the process of automatically freeing up memory occupied by objects that are no longer needed or referenced in the program. **When we call gc()** then JVM performs the following tasks ⬇️ ============================== Identifies garbagege**: The JVM identifies objects that are no longer referenced or needed in the programReclaims memoryry**: The JVM reclaims the memory occupied by the identified garbage objectsCompacts memoryry**: The JVM compacts the memory to remove any holes or gaps created by the garbage objects. EXAMPLELE** ============================== To call the gc() method in a Java program, you can use the following syntax: System.gc(); ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️ public class Main { public static void main(String[] args) { // Create some objectsts** Object obj1 = new Object(); Object obj2 = new Object(); // Nullify the referenceses** obj1 = null; obj2 = null; // Request garbage collectionon** System.gc(); // Continue with the programam** } } In this example, we create two objects obj1 and obj2, then nullify their references by setting them to null. We then call System.gc() to request garbage collection, which may reclaim the memory occupied by the two objects. Also, it's worth noting that you can also use **Runtime.getRuntime().gc()** to call the gc() method, but **System.gc()** is a more common and convenient way to do it. **The gc() method is useful in situations where:** ==================Memory is low*Memory is low**: You can call gc() to free up memory when the program is running low oMemory leaks**Memory leaks**: You can call gc() to help identify and fix memory leaks in yPerformance optimizatione optimization**: You can call gc() to optimize performance by reducing the number of garbage objects in memory. However, it's generally recommeJVM handle garbage collection automatically automatically**, as it is optimized to perform garbage collection efficiently. Explicitly calling gc() can sometimes lead to performance issues or interfere with the JVM's garbage collection algorithm.