What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-01 15:08:09
String palindrome in java using stringbuffer
// String palindrome in java using stringbuffer public class PalindromeUsingStringBuffer { public static void main(String[] args) { String strInput = "nayan"; StringBuffer sb = new StringBuffer(strInput); sb.reverse(); ... Add solution -
Javascript 2021-09-30 11:51:07
how to do multiplication in javascript
//To multiply in Java script, you have to put an asterisk symbol '*' between them. If you have stored two numbers in variables, just put an asterisk symbol between the variable names. //For example: var a = 5 var b = 6 var c = a*b var d = 5*6 Bot.send (c... Add solution -
Java 2021-09-30 11:42:03
is double and float the same function in java
Float and double Double is more precise than float and can store 64 bits, double of the number of bits float can store. ... Float and double function in the same way in all programming languages. For example, in Java, both will throw NumberFormatException... Add solution -
Java 2021-09-29 20:49:02
Reverse a string in java word by word
// Reverse a string in java word by word import java.util.Scanner; public class ReverseStringWordByWord { public static void main(String[] args) { String strWord = ""; Scanner sc = new Scanner(System.in); System.out.pri... Add solution -
Java 2021-09-28 13:13:04
important features of java programming language
What are the major features of Java programming? Object Oriented. In Java, everything is an Object. ... Platform Independent. ... Simple. ... Secure. ... Architecture-neutral. ... Portable. ... Robust. ... Multithreaded. Add solution -
Java 2021-09-28 09:28:06
encapsulation in java
Encapsulation in Java is a mechanism to wrap up variables and methods together as a single unit. It is the process of hiding information details and protecting data and behavior of the object. It is one of the four important OOP concepts. The encapsulat... Add solution -
Java 2021-09-28 00:55:02
what is static keyword in java
Static keyword is used a lot in java. Static means, you can access those static variables without creating an object, just by using a class name. This means that only one instance of that static member is created which is shared across all instances of ... Add solution
Best helpers
Ranking is empty