What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 08:20:18
basic java interview questions
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Java 2021-11-20 05:00:31
java basic programs for interview
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
Java 2021-11-10 23:57:22
typecasting java
Assigning a value of one type to a variable of another type is known as Type Casting. Auto-boxing; is a process when you take a primitive value and assign into wrapper class object. Un-boxing; is a process when you take Wrapper class object and convert to... Add solution -
Java 2021-10-15 04:20:05
difference between integer and int
int is a primitive type. Variables of type int store the actual binary value for the integer you want to represent. int.parseInt("1") doesn't make sense because int is not a class and therefore doesn't have any methods. Integer is a class, no d... Add solution -
Java 2021-09-29 17:00:04
Java wrapper classes
Wrapper classes: classes that are dedicated to primitives Byte, Short, Integer, Long, Float, Double, Character, Boolean presented in "java.lang" package AutoBoxing: converting primitive values to wrapper class int a = 100; Integer b ... Add solution -
PHP 2021-09-28 12:00:02
drupal 9 custom local stream wrapper
This is a modified snippet from a live real estate project to define a custom stream wrapper. Add the stream wrapper as a service in your services YML file: stream_wrapper.pics: class: Drupal\mymod\PicsStreamWrapper tags: - { nam... Add solution -
Java 2021-09-07 03:36:01
what is the difference between int and integer in java
int is a primitive type. Variables of type int store the actual binary value for the integer you want to represent. int.parseInt("1") doesn't make sense because int is not a class and therefore doesn't have any methods. Integer is a class, no d... Add solution -
C++ 2021-09-04 00:52:02
c# p/involke c++ dll get struct
// At the dll wrapper class [DllImport(path, EntryPoint = "?GetParameters@@YGHKPAU_DevParam@@@Z")] public static extern bool GetParameters(int ID, IntPtr dParam); // At main int size = Marshal.SizeOf(typeof(DevParam)); IntPtr Ptr = Marshal.Allo... Add solution