-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Author Archives: Stanislav_Panteleev
Java.Core.What is the difference between default, copy, and parameterized constructors?
In Java, a constructor is a special method used to initialize objects. Java supports three common types of constructors: Default Constructor (No arguments) Parameterized Constructor (Accepts arguments) Copy Constructor (Creates a new object by copying another object) 1. Default Constructor … Continue reading
Posted in Без рубрики
Comments Off on Java.Core.What is the difference between default, copy, and parameterized constructors?
Java.Core.What is a “default constructor”?
What is a Default Constructor in Java? A default constructor is a constructor with no parameters that initializes an object with default values. If a class does not define any constructor, Java automatically provides a default constructor. 1. Characteristics of … Continue reading
Posted in Без рубрики
Comments Off on Java.Core.What is a “default constructor”?
Java.Core.Define the concept of a “constructor.”
1. Key Characteristics of a Constructor ✅ Same name as the class✅ No return type (not even void)✅ Called automatically when an object is instantiated✅ Used to initialize instance variables✅ Can be overloaded (multiple constructors in the same class)
Posted in Без рубрики
Comments Off on Java.Core.Define the concept of a “constructor.”
Java.Core.Why is the clone() method declared in the Object class and not in the Cloneable interface?
Short Answer: not all objects need exposed cloning, so to support this behaviour method clone is removed to Object class with throwing CloneNotSupportedException if you need clone in your object just override it you can add Clonable to message everyone … Continue reading
Posted in Без рубрики
Comments Off on Java.Core.Why is the clone() method declared in the Object class and not in the Cloneable interface?
Java.Core.Which cloning method is preferable?
The best cloning method depends on your use case. Below is a comparison of three common cloning methods: Shallow Copy using super.clone() (Default Cloning) Deep Copy using super.clone() + Manual Cloning Copy Constructor (Alternative Approach)
Posted in Без рубрики
Comments Off on Java.Core.Which cloning method is preferable?
Java.Core.What is the difference between shallow and deep cloning?
2. Shallow Copy Issue (Mutable Fields) Shallow copying fails when an object contains references to other objects.
Posted in Без рубрики
Comments Off on Java.Core.What is the difference between shallow and deep cloning?
Java.Core.Explain object cloning.
Object cloning in Java is the process of creating an exact copy of an existing object. It is used when you need a duplicate object without manually copying all attributes.
Posted in Без рубрики
Comments Off on Java.Core.Explain object cloning.
Java.Core.WaitAndNotifyExample
code Step-by-Step Execution Thread 1 (waitForSignal()) starts first Prints “Waiting…”. Calls wait(), which releases the lock on resource and goes into waiting state. Thread 2 (sendSignal()) starts after 1 second Calls sendSignal(), acquires the lock, and calls notify(), which wakes … Continue reading
Posted in Без рубрики
Comments Off on Java.Core.WaitAndNotifyExample
Java.Core.What is the Object class? What methods does it have?
The Object class is the root class of all Java classes. Every class in Java implicitly inherits from Object, either directly or indirectly. 📌 Key Facts About Object Class: It is part of the java.lang package. It provides basic methods … Continue reading
Posted in Без рубрики
Comments Off on Java.Core.What is the Object class? What methods does it have?
Java.Core.What is the main difference between String, StringBuffer, and StringBuilder?
In Java, all three—String, StringBuffer, and StringBuilder—are used to handle text, but they have key differences in terms of mutability, performance, and thread safety.
Posted in Без рубрики
Comments Off on Java.Core.What is the main difference between String, StringBuffer, and StringBuilder?