Jul 2, 2024 · 2 min read · 📌 What is a Constructor? A constructor in Java is a special method used to initialize objects. When you create a new object, the constructor sets up the initial state of the object. 🛠️ Key Features of Constructors: Same Name as the Class: The cons...
Join discussion
Sep 16, 2022 · 1 min read · outline Setting default region for signing in AWS Web Console. how-to right upper account menu Settings Localization and default Region Default Region >> ap-northeast-2 note However, it works not properly because of browser cache.
Join discussion
Aug 22, 2022 · 5 min read · Take a look at this code: function greet(name, greeting) { name = (typeof name !== 'undefined') ? name : 'Student'; greeting = (typeof greeting !== 'undefined') ? greeting : 'Welcome'; return `${greeting} ${name}!`; } greet(); // Welcome St...
Join discussionFeb 3, 2021 · 2 min read · I just did a quick comparison for my personal use between these browsers and the only few things I considered were: Performance: How smoothly the window resizes and the browser updates the layout. Memory consumption. CPU power The latest version of...
Join discussion
Apr 7, 2020 · 1 min read · Suspend a job and send it to the background: $ Ctrl+Z Resumes jobs that have been suspended, and keeps them running in the background: $ bg Bring most recently suspended background job to foreground: $ fg Display status of jobs in the current session...
Join discussionMay 2, 2018 · 1 min read · Java doesn’t have the concept of delegate; instead, if you need a pointer to a function, you can create inline anonymous classes (or lambda expressions as of Java 8 ) which are implementations of certain interfaces designed for this propose (a.k.a fu...
Join discussionMar 8, 2018 · 2 min read · Use HTTPS to protect sensitive data (authentication credentials, API Keys, etc.) in transit. Authentication/Authorisation: Make sure the endpoints are protected with proper access levels. GET methods are an easy target for attackers. So never perform...
Join discussionApr 17, 2016 · 1 min read · Currently .NET Core is only supported for Ubuntu 14.04 and when you try installing it on Ubuntu 15.10 you get the following error: Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using...
Join discussion