Kali Baranwalkalibaranwal.hashnode.dev·May 1, 2024VTable and Vptr DemystifiedWHAT IS VTable? It stands for "VIRTUAL TABLE". It is created by the compiler to support dynamic polymorphism. When class contain virtual function, compiler creates VTable for that class. WHAT IS Vptr? It stands for "VIRTUAL POINTER". It is a hidden p...Discussvtable
Cenz Wongcenz.hashnode.dev·Apr 7, 2024Type Casting Like a Data Sorcerer in PySparkData types are a fundamental aspect of any data processing work, and PySpark offers robust solutions for handling them. When working with PySpark, data type conversion is a common task, and understanding the difference of each approach is key to effi...Discuss·49 readsPySparkPySpark
Yasir Arafatyasir123arafat.hashnode.dev·Mar 23, 2024Converting String to intThe Approach Reading Input The code uses bufio.NewReader(os.Stdin) to create a new reader that reads from the standard input stream (terminal). reader.ReadString('\n') reads input from the user until a newline character (\n) is encountered. Par...DiscussGo Language
Truong Nguyentruongnn.me·Feb 16, 2024Type casting in DartThe "is" operator Purpose The is keyword in Dart is used for type checking. It evaluates to true if the object has the specified type, and false otherwise. This can be particularly useful when you need to ensure an object is of a certain type before ...DiscussFlutter
Nikhil Abhiman Jadhavtechnikio.hashnode.dev·Jan 11, 2024Mastering the Art of Type Casting in Java1. Introduction Welcome to another exciting chapter in our Java journey! Today, we delve into the realm of Type Casting—a powerful technique that allows us to convert one data type into another in Java. Buckle up as we unravel the nuances, applicati...Discusstechnikio
Ekaterine (Catherine)ekaterine-mitagvaria.hashnode.dev·Oct 4, 2023Type Casting in JavaScriptTypecasting in JavaScript is the conversion of one data type into another data type, for example, a number to a string. Typecasting is often also known as type conversion. What is data type? JavaScript has 8 main data types: String Number Boolean ...Discuss·33 readsJavaScript
Emerson Souzablog.lublot.dev·Jul 21, 2023Mastering Type Assertion in TypeScriptType Assertion, also known as Type Casting, is a feature in TypeScript that allows you to explicitly define the type of a value when the type system cannot infer it automatically. It provides a way to override the default type inference and treat a v...DiscussTypeScript
Stanislav Kirichokswiftdev.hashnode.dev·Jul 10, 2023Exploring Dynamic Casting and Type Erasure in SwiftIntroduction The latest WWDC23 introduced many new features in Swift and the broader ecosystem providing developers with opportunities to enhance their skills and stay up-to-date. It's always beneficial to revisit previous sessions to reinforce cruci...Discuss·63 readsSwift
Firas Hassanfiras-hassan.hashnode.dev·Jul 9, 2023Basic Java Questions and Answers (Part 1) - Type-CastingI’ve compiled a list of questions and answers about fundamental topics in Java that I believe every Java developer should be aware of. This is part 1, covering the concepts of type-casting, upcasting and downcasting. What is type-casting? it refers t...Discuss·38 readsJava
Suryansh GrforDSA blogsuryanshdsa.hashnode.dev·Jun 28, 2023First ProgramEvery file that ends with .java is a class. The public class in the file can be only the name of the file or public class has the same name as of the file public ---> everyone can access public static void main(String[] args){} this is the main funct...Discuss·36 readstype casting