What do you want to save?
Add Code snippet
New code examples
-
Java 2022-02-27 14:30:01
java type casting
Primitive Type casting and Reference Type casting PRIMITIVE CASTING: implicit casting (casting smaller type to larger int a = 100; double c = a;) explicit casting (casting larger to smaller byte b = (byte) a; REFERENCE CASTING: upcasting - implicitl... Add solution -
Javascript 2022-02-01 00:07:57
javascript all type of data
/* The latest ECMAScript standard defines nine types: Six Data Types that are primitives, checked by typeof operator: undefined : typeof instance === "undefined" Boolean : typeof instance === "boolean" Number : typeof instance === &qu... Add solution -
Javascript 2022-01-24 02:00:56
data type javascript
/* The latest ECMAScript standard defines nine types: Six Data Types that are primitives, checked by typeof operator: undefined : typeof instance === "undefined" Boolean : typeof instance === "boolean" Number : typeof instance === &qu... Add solution -
Java 2022-01-23 02:35:19
iterate over string java
String scientistName = "Isaac Newton"; for (int i = 0; i < scientistName.length(); i++) { System.out.print(scientistName.charAt(i) + " "); // I s a a c N e w t o n } //*******************************************************... Add solution -
Java 2021-11-04 14:42:21
java iterate over a string
String scientistName = "Isaac Newton"; for (int i = 0; i < scientistName.length(); i++) { System.out.print(scientistName.charAt(i) + " "); // I s a a c N e w t o n } //*******************************************************... Add solution -
Java 2021-11-04 07:47:10
role of scanner class in java
The Java Scanner class is widely used to parse text for strings and primitive types using a regular expression. It is the simplest way to get input in Java. By the help of Scanner in Java, we can get input from the user in primitive types such as int, ... Add solution -
Java 2021-10-29 09:19:11
casting in java
Primitive Type casting and Reference Type casting PRIMITIVE CASTING: implicit casting (casting smaller type to larger int a = 100; double c = a;) explicit casting (casting larger to smaller byte b = (byte) a; REFERENCE CASTING: upcasting - implicitl... Add solution